Declare dependencies test-compile only (and not test-run) ?


Is it possible to make dependencies test-compile only and not provide them at test runtime? - says there is no way to exclude dependency from a test runtime... I personally think "Provided" scope should do that, but it doesn't. :(

Looks like Gradle separate `compileOnly` and `testCompileOnly`(?) should I try to use the Gradle plugin?

1 comment

As I see at the moment the only way to achieve such behavior is to use Gradle and delegate build to gradle.


Please sign in to leave a comment.