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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -