Skip to content

Commit

Permalink
set -relase=8 for java, bump Kotlin to 1.7.21
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Sep 6, 2024
1 parent 8410d5a commit d7bf970
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath(kotlin("gradle-plugin", "1.5.30"))
classpath(kotlin("gradle-plugin", "1.7.21"))
classpath("com.vanniktech:gradle-maven-publish-plugin:0.17.0")
}
}
Expand All @@ -22,11 +22,13 @@ allprojects {
tasks.withType(JavaCompile::class.java) {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
options.release.set(8)
}
tasks.withType(KotlinCompile::class.java) {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += "-Xopt-in=kotlin.ExperimentalUnsignedTypes"
freeCompilerArgs += "-Xjdk-release=1.8"
}
}
tasks.withType(Task::class) {
Expand Down

0 comments on commit d7bf970

Please sign in to comment.