You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying our build that applies the ktlin plugin version 4.1.0 in our buildSrc project against a Gradle 4.10 snapshot gives the following error:
> Task :buildSrc:ktlintMainCheck FAILED
Exception in thread "main" java.lang.NoClassDefFoundError: org/jetbrains/kotlin/preprocessor/PreprocessorKt
at com.github.shyiko.ktlint.Main$loadReporter$2.invoke(Main.kt:396)
at com.github.shyiko.ktlint.Main.loadReporter(Main.kt:410)
at com.github.shyiko.ktlint.Main.main(Main.kt:262)
Caused by: java.lang.ClassNotFoundException: org.jetbrains.kotlin.preprocessor.PreprocessorKt
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more
Inspecting the buildSrc dependencies, it looks like the snapshot is using a Kotlin 1.2.60-eap build:
I presume that the error is due to changes in the Kotlin libs.
Not necessarily advocating for an immediate fix, but more a head-up that as it currently stands, this plugin will break with Gradle 4.10 if it ships with kotlin libs based on 1.2.60 or later.
@eskatos@bamboo I presume that we're unlikely to roll this back to 1.2.41 at this point, right?
The text was updated successfully, but these errors were encountered:
Trying our build that applies the ktlin plugin version
4.1.0
in ourbuildSrc
project against a Gradle 4.10 snapshot gives the following error:Inspecting the buildSrc dependencies, it looks like the snapshot is using a Kotlin 1.2.60-eap build:
I presume that the error is due to changes in the Kotlin libs.
Not necessarily advocating for an immediate fix, but more a head-up that as it currently stands, this plugin will break with Gradle 4.10 if it ships with kotlin libs based on 1.2.60 or later.
@eskatos @bamboo I presume that we're unlikely to roll this back to 1.2.41 at this point, right?
The text was updated successfully, but these errors were encountered: