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
If I leave the line commented, then the code in the subprojects does not get formatted/checked. If I uncomment the line, here's the error I get:
./gradlew clean ktlintFormat
FAILURE: Build failed with an exception.
* What went wrong:
org/jetbrains/kotlin/gradle/dsl/KotlinProjectExtension
> org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
If I run this with stacktrace, the first three lines are:
* Exception is:
java.lang.NoClassDefFoundError: org/jetbrains/kotlin/gradle/dsl/KotlinProjectExtension
at org.jlleitschuh.gradle.ktlint.KtlintPlugin$applyKtLint$1.invoke(KtlintPlugin.kt:81)
at org.jlleitschuh.gradle.ktlint.KtlintPlugin$applyKtLint$1.invoke(KtlintPlugin.kt:19)
at org.jlleitschuh.gradle.ktlint.KtlintPlugin$sam$org_gradle_api_Action$0.execute(KtlintPlugin.kt)
...
To be honest, I am not sure if I am doing anything wrong or if there is a bug in the plugin. In any case I would be really grateful for your assistance. If you need more input from me (more logs, a minimal working or, rather, failling example), please let me know and thank you very much in advance!
The text was updated successfully, but these errors were encountered:
Hello,
I'm running into an issue with a multiproject setup (using Gradle 8.12). My top level
build.gradle.kts
is minimal:If I leave the line commented, then the code in the subprojects does not get formatted/checked. If I uncomment the line, here's the error I get:
If I run this with stacktrace, the first three lines are:
To be honest, I am not sure if I am doing anything wrong or if there is a bug in the plugin. In any case I would be really grateful for your assistance. If you need more input from me (more logs, a minimal working or, rather, failling example), please let me know and thank you very much in advance!
The text was updated successfully, but these errors were encountered: