Skip to content

Commit

Permalink
align kotlin and java versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Jun 2, 2024
1 parent e777dc5 commit 9144ff5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -151,6 +151,11 @@ tasks {
}
}

java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

// tasks {
// printProductsReleases {
// channels = listOf(ProductRelease.Channel.EAP)
Expand Down

0 comments on commit 9144ff5

Please sign in to comment.