Skip to content

Commit

Permalink
Use toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Feb 20, 2024
1 parent 4f5c5b7 commit 73d44ef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 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 "1.9.22"
id("maven-publish")
Expand Down Expand Up @@ -28,8 +26,8 @@ tasks.test {
useJUnit()
}

tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
java {
toolchain.languageVersion = JavaLanguageVersion.of(8)
}

publishing {
Expand Down

0 comments on commit 73d44ef

Please sign in to comment.