plugins { `kotlin-dsl` } // Build logic can target Java 21 while the Studio product uses the Java 25 toolchain. // Gradle's embedded Kotlin compiler does not yet emit JVM 25 bytecode. java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } kotlin { compilerOptions { jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21) } } repositories { gradlePluginPortal() mavenCentral() }