I was migrating a java project in ant-build to gradle build. I am stuck with source code.
I have already done this in another project with WSDL conversion to java successfully. But in this case I am not aware.
Ant code is here
<taskdef name="codegen" classname="com.company.container.ant.GeneratorTask"
classpathref="codegen.path" loaderref="classes"/>
<codegen toDir="${dir.generated}" metaDestDir="${dir.compile}"
configFile="${dir.compile}/container/local_services.xml">
<fileset dir=".">
<include name="src/java/com/**/container/*Impl.java"/>
</fileset>
</codegen>
<echo message="Generate biz service interfaces complete."/>
</target>
<target name="compile.codegen" description="Compile generated code.">
<javac srcdir="${dir.generated}" destdir="${dir.compile}"
deprecation="${build.deprecation}" debug="${build.debug}">
<classpath>
<path refid="classpath.build"/>
</classpath>
</javac>
<echo message="Done compiling generated code."/>
</target>
Do anyone has any idea ?