Skip to content

Commit

Permalink
gradle 8.7, jdk 21
Browse files Browse the repository at this point in the history
  • Loading branch information
dkandalov committed May 28, 2024
1 parent 3f26ee0 commit ae8e6ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
11 changes: 3 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "2.0.0"
}
Expand All @@ -14,9 +12,6 @@ dependencies {
testImplementation("junit:junit:4.13.2")
}

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = "17"
kotlinOptions.freeCompilerArgs = listOf(
"-Xstring-concat=indy-with-constants", // See https://kotlinlang.org/docs/whatsnew1420.html#invokedynamic-string-concatenation
)
}
kotlin {
jvmToolchain(21)
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit ae8e6ce

Please sign in to comment.