I just tried to create a brand new kotlin multipla...
# multiplatform
j
I just tried to create a brand new kotlin multiplatform from IntelliJ and I got an error right away
Could not open init generic class cache for initialization script ‘/private/var/folders/1f/_13x62m52cd0b42d6ss7kpy00000gn/T/wrapper_init.gradle’ (/Users/jeantuffier/.gradle/caches/7.1/scripts/dpq13m6f9134zige235n01ule).
> BUG! exception in phase ‘semantic analysis’ in source unit ‘_BuildScript_’ Unsupported class file major version 61
* 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.
h
You use Java 17, which requires Gradle 7.3+
j
You’re right, not sure why that was set to 17 by default though. But it works now 🙂 Thanks!