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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

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

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