jvmTest
abstract val NamedDomainObjectContainer<KotlinSourceSet>.jvmTest: NamedDomainObjectProvider<KotlinSourceSet>
Static accessor for the test Kotlin Source Set of jvm target. Declare jvm target to access this source set. If jvm target wasn't declared, accessing this source set will cause a runtime error during configuration time.
Sample:
kotlin {
jvm() // Target is declared, jvmTest source set is created
sourceSets {
jvmTest.dependencies {
// Add jvmTest dependencies here
}
}
}
Content copied to clipboard
Since
2.0.20