Help get this topic noticed by sharing it on Twitter, Facebook, or email.

how do i declare a dependency on a module's test code?

I need to declare a dependency on a module's test code? I have a utility class in a module's test code that another modules needs to leverage.

I tried this:


dependencies {
testCompile project(':modules:bam-ae').sourceSets.test.classes
groovy localGroovy()
}


But it failed with:

Cannot get the value of write-only property 'classes' on source set test.
1 person has
this question
+1
Reply