Skip to content

Commit

Permalink
Add JVM toolchain (fix for Gradle 8)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefMa committed May 17, 2023
1 parent db7c97f commit 6236343
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 1 addition & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ tasks.test {
useJUnitPlatform()
}

tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
kotlin.jvmToolchain(8)

wrapperUpgrade {
gradle {
Expand Down
4 changes: 4 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.5.0"
}

rootProject.name = "LokaliseGradlePlugin"

0 comments on commit 6236343

Please sign in to comment.