Declare dependencies test-compile only (and not test-run) ?
Answered
Is it possible to make dependencies test-compile only and not provide them at test runtime?
https://www.jetbrains.com/help/idea/2018.3/dependencies.html - 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?
Please sign in to leave a comment.
As I see at the moment the only way to achieve such behavior is to use Gradle and delegate build to gradle.