Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我该如何重新制定:
testCompile.extendsFrom compileOnly
从 Gradle Groovy DSL 到基于 Kotlin 的等价物?
configurations { testCompile{ extendsFrom(compileOnly) } }
我上面的方法失败了。
configurations { create("testCompile").apply { extendsFrom(configurations.compileOnly.get()) } }
https://github.com/spring-projects/spring-boot/issues/16251