Is it just me or are `kotlin-dsl` 1.2.4 and 1.2.5 ...
# gradle
m
Is it just me or are
kotlin-dsl
1.2.4 and 1.2.5 broken?
Copy code
$ ./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)
g
It is working for me with 1.3.21 (at least on my buildSrc folder).
m
What versions of Gradle and
kotlin-dsl
are you using?
g
Gradle 5.1.1 and in my
buildSrc/build.gradle.kts
I have the following:
Copy code
plugins {
	`kotlin-dsl`
}

repositories {
	jcenter()
}
I’m not really specifying a version for the kotlin-dsl plugin.
Gradle 5.2 or superior was not working.
m
So this is not related to my actual issue that the latest versions of
kotlin-dsl
are broken 😉 Gradle 5.2.1 works great for me in plenty of projects btw 😮
g
Hum, I see. Ok 😃
j
was having issues with 5.2 this morning, downgraded back to 4.10.3 just to get a build out