With the addition of the ability to define dependencies per component, how do would you add test dependencies? I’m going to guess they would go into a test component but wanted to make sure.
You are correct.
model {
testSuites {
myTest(JUnitTestSuiteSpec) {
jUnitVersion '4.12'
dependencies {
module 'org.spockframework:spock-core:1.0-groovy-2.4'
}
}
}
}