diff --git a/build.gradle.kts b/build.gradle.kts index 03087d1..b205cef 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -71,7 +71,7 @@ val plugins = listOf( ) val productName = System.getenv("PRODUCT_NAME") ?: "IC-241" -val jvmTargetVersion = System.getenv("JVM_TARGET") ?: "17" +val jvmTargetVersion = System.getenv("JVM_TARGET") ?: "11" val descriptor = plugins.firstOrNull { it.sourceFolder == productName } ?: error("SDK not found $productName") val jetbrainsToken: String by project @@ -151,6 +151,11 @@ tasks { } } + java { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 + } + // tasks { // printProductsReleases { // channels = listOf(ProductRelease.Channel.EAP)