How do I define a compile-time *only* classpath in Gradle?
There has been a lot of discussion regarding this topic, mainly here, but not clear conclusion. You are on the right track: currently the best solution is to declare your own provided configuration, that will included compile-only dependencies and add to to your compile classpath: configurations{ provided } dependencies{ //Add libraries like lombok, findbugs etc … Read more