Marc Knaup
03/04/2019, 4:42 AMkotlin-dsl
1.2.4 and 1.2.5 broken?
$ ./gradlew tasks --stacktrace
> Configure project :
WARNING: Unsupported Kotlin plugin version.
The `embedded-kotlin` and `kotlin-dsl` plugins rely on features of Kotlin `1.3.20` that might work differently than in the requested version `1.3.21`.
FAILURE: Build failed with an exception.
…
java.lang.NoClassDefFoundError: org/gradle/kotlin/dsl/provider/PrecompiledScriptPluginsSupport
at org.gradle.kotlin.dsl.plugins.precompiled.PrecompiledScriptPlugins.apply(PrecompiledScriptPlugins.kt:77)
at org.gradle.kotlin.dsl.plugins.precompiled.PrecompiledScriptPlugins.apply(PrecompiledScriptPlugins.kt:40)
GarouDan
03/04/2019, 2:57 PMMarc Knaup
03/04/2019, 3:02 PMkotlin-dsl
are you using?GarouDan
03/04/2019, 3:04 PMbuildSrc/build.gradle.kts
I have the following:
plugins {
`kotlin-dsl`
}
repositories {
jcenter()
}
I’m not really specifying a version for the kotlin-dsl plugin.Marc Knaup
03/04/2019, 3:05 PMkotlin-dsl
are broken 😉
Gradle 5.2.1 works great for me in plenty of projects btw 😮GarouDan
03/04/2019, 3:06 PMjanvladimirmostert
03/06/2019, 12:21 PM