Slackbot
02/09/2023, 11:56 AMArimil
02/09/2023, 12:12 PMArimil
02/09/2023, 12:12 PMArimil
02/09/2023, 12:13 PMgradlew --stop then remove all your build directoriesRoi Abir
02/09/2023, 12:22 PM./gradlew --stop -> clean -> build. No luck. same error messageVampire
02/09/2023, 12:24 PM./gradlew clean?Roi Abir
02/09/2023, 12:28 PMArimil
02/09/2023, 12:29 PMbuild directories, maybe there's something that clean isn't getting.Vampire
02/09/2023, 12:30 PMRoi Abir
02/09/2023, 12:30 PMVampire
02/09/2023, 12:31 PM<GRADLE_USER_HOME>?
Everything that is not put manually there like gradle.properties or init scripts.Roi Abir
02/09/2023, 12:34 PMe: /Users/roi/Git/project/src/test/kotlin/MyClass.kt: (155, 56): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /Users/roi/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.0/1796921c7a3e2e2665a83e6c8d33399336cd39bc/kotlin-stdlib-1.8.0.jar!/kotlin/Unit.classRoi Abir
02/09/2023, 12:34 PMVampire
02/09/2023, 12:35 PMVampire
02/09/2023, 12:36 PMRoi Abir
02/09/2023, 12:36 PMVampire
02/09/2023, 12:59 PM./gradlew dependencyInsight --configuration testCompileClasspath --dependency org.jetbrains.kotlin:kotlin-stdlib should probably helpRoi Abir
02/09/2023, 2:37 PMFAILURE: Build failed with an exception.
* What went wrong:
Configuration 'testCompileClasspath' not found in configuration container.Vampire
02/09/2023, 2:47 PMdependencyInsight task on the project where the problem isRoi Abir
02/09/2023, 3:31 PMVampire
02/09/2023, 3:47 PMRoi Abir
02/09/2023, 3:49 PM