在Gradle脚本中,我可以使用
我该如何在kts脚本中实现它?
sourceSets.main.runtimeClasspath
来获取运行时类路径。但在kts脚本中会出现错误提示。Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public val NamedDomainObjectContainer<Configuration>.runtimeClasspath: NamedDomainObjectProvider<Configuration> defined in org.gradle.kotlin.dsl
我该如何在kts脚本中实现它?