Geo*_*ler 1 build gradle kotlin gradle-kotlin-dsl kotlin-dsl
我该如何重新表述:
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
| 归档时间: | 
 | 
| 查看次数: | 2595 次 | 
| 最近记录: |