Lev Sorvin
06/12/2022, 6:44 PMNorbi
06/12/2022, 6:51 PM-s
or --stacktrace
Or with --info
to print more info to the console.
Maybe restarting the Gradle daemons will help (I run into file locking problems because of the daemons but this is only a guess without a stacktrace or detailed error message):
gradle --stop
Lev Sorvin
06/12/2022, 6:56 PMgradle clean
. I attach the log with stacktrace (the error message still looks cryptic and unclear).Norbi
06/12/2022, 6:58 PMCaused by: java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.incremental.FileUtilsKt.cleanDirectoryContents(java.io.File)'
Probably you have some classpath issue :\Lev Sorvin
06/12/2022, 7:00 PMNorbi
06/12/2022, 7:13 PMVampire
06/12/2022, 8:15 PMephemient
06/12/2022, 8:15 PM./gradlew buildEnvironment
2 what gradle and kotlin versions, using kotlin daemon or not? it looks like Kotlin compiler is not compatible with the stdlib that Gradle loadedLev Sorvin
06/12/2022, 8:28 PM./gradlew buildEnvironment
outputs No dependencies
. My kotlin version is 1.6.20, gradlew version (according to ./gradlew version
is 7.4, I don't use kotlin daemons. Is it not compatible?ephemient
06/12/2022, 8:54 PM:playground:buildEnvironment
, although it could also be some plugin or buildSrc dependency causing issuesLev Sorvin
06/12/2022, 9:16 PM:playground:buildEnvironment
. What specifically should I be looking for? And if potentially some plugin is causing it, how could I diagnose it?ephemient
06/12/2022, 10:24 PM:dtest:gradle-plugin
is possibly the problem, as it requires a newer Kotlin than Gradle's embedded versionLev Sorvin
06/13/2022, 6:22 AM