ant - Gradle : Include output JAR of main/java sourceset as a dependency to compile test/java sourceset -
we have ant build where, in main sourceset javac compiles classes , produces jar. jar used in classpath while compiling test sourceset of same project.
how can replicate in gradle. dont want use ant.javac command. trying re-write entire ant script gradle. how compile test classes dependency on output jar of main class. (in same build.gradle)
Comments
Post a Comment