Anyone know the Gradle Kotlin DSL equivalent of `c...
# gradle
r
Anyone know the Gradle Kotlin DSL equivalent of
classpath = project.configurations.runtime
?
sourceSets.main.get().runtimeClasspath
seems to be close, though it has some "nonsense" values prepended:
Copy code
$APP_HOME/lib/main:$APP_HOME/lib/main:$APP_HOME/lib/main:...
(yes, 3 times)
This seems to work:
Copy code
project.configurations.runtimeClasspath.get()