Skip to content

Commit

Permalink
set toolchain target version
Browse files Browse the repository at this point in the history
  • Loading branch information
rheimus committed Jan 24, 2025
1 parent e520867 commit a176070
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-gui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ dependencies {
implementation "org.openjfx:javafx-controls:$javafx.version:mac"
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(java_language_version)
}
}

application {
mainClass = ss_main_class
}
Expand Down
6 changes: 6 additions & 0 deletions build-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ dependencies {
implementation fileTree(dir: "libs", include: "*.jar")
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(java_language_version)
}
}

jar {
enabled = false
}
Expand Down
6 changes: 6 additions & 0 deletions build-shared/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ dependencies {
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.8.2", "com.eclipsesource.minimal-json:minimal-json:0.9.5"
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(java_language_version)
}
}

jar {
archiveBaseName = "server-sync"
archiveClassifier = "shared"
Expand Down

0 comments on commit a176070

Please sign in to comment.