message when I try to debug a plugin test built on
AbstractKotlinCompilerTest
? Non-debug run works well, but when I try to debug I get this error.
Compiler: 1.9.0
Gradle 8.0
Error text:
Copy code
FAILURE: Build failed with an exception.
* What went wrong:
Could not open cp_init generic class cache for initialization script '/private/var/folders/11/63l49c192nnbxhmjpxggc2640000gn/T/ijresolvers2.gradle' (/Users/tiz/.gradle/caches/8.0/scripts/7hfc6zkep672kceu7v66gggt9).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64
h
hfhbd
07/14/2023, 6:11 PM
Java class Version 64 is Java 20, which isn’t supported by Gradle 8.2
t
Tóth István Zoltán
07/14/2023, 6:28 PM
Oh, my! One of the projects haven't had the Java version set down, my bad.
c
chanjungskim
07/15/2023, 12:55 AM
Is the default 20?
chanjungskim
07/15/2023, 12:55 AM
I am using gradle 8.0.2 + K2
t
Tóth István Zoltán
07/17/2023, 6:55 AM
I don't think 20 is the default in general. I have it installed, I guess it took the latest.