How to use provided scope for jar file in Gradle build?
In the 2.12 release of Gradle, compileOnly was added to give similar functionality to provided scope. There is a difference in what happens in the test classpath. Here is relevant quote and snippet from the release notes: You can now declare dependencies to be used only at compile time in conjunction with the Java plugin. … Read more