>Looks like it is expected:
>https://github.com/gradle/gradle/issues/9758
It is not expected.
The way to fix it is to apply the following patch:
--- a/buildSrc/build.gradle.kts
+++ b/buildSrc/build.gradle.kts
@@ -19,7 +19,6 @@ import com.github.vlsi.gradle.properties.dsl.props
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
- java
`kotlin-dsl` apply false
id("com.github.autostyle")
id("com.github.vlsi.gradle-extensions")
@@ -75,6 +74,6 @@ fun Project.applyKotlinProjectConventions() {
dependencies {
subprojects.forEach {
- runtimeOnly(project(it.path))
+ "runtimeOnly"(project(it.path))
}
}
Vladimir