There is such a project structure.
ProjectMain build.gradle Project1 release my.jar build.gradle The main ProjectMain project needs a Project1/release/my.jar . In build.gradle for Project1 required logic is written (by generating the jarnik), it is necessary that the dependencies from my.jar used when building ProjectMain .
How to implement it? (preferably with examples of groovy code)
PS before it was used ant, and there with it was just
<target name="one"? <path id="project.classpath"> <fileset dir="${Project1.release}"> <patternset includes="**/*.jar"/> </fileset> </path> </target> <target name="Two"> <javac srcdir="${src}" destdir="${out}" debug="on"> <classpath refid="project.classpath"/> </javac> </target>