How can I reformulate:
testCompile.extendsFrom compileOnly
of the Gradle Groovy DSL to its Kotlin-based equivalent?
configurations {
testCompile{
extendsFrom(compileOnly)
}
}
My approach above fails.
configurations {
create("testCompile").apply {
extendsFrom(configurations.compileOnly.get())
}
}