 That's in my build.gradle file: ```build.gradle tasks.withType(JavaCompile).configureEach { it.options.release = 21 } tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { kotlinOptions { jvmTarget = 21 } } ``` IntelliJ seems to be okay with it. And it compiles.