File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -240,8 +240,8 @@ jobs:
240240 strategy :
241241 fail-fast : false
242242 matrix :
243- os : [ubuntu-latest,windows-latest,macOS-latest]
244- jdk : [17, 21, 25]
243+ os : [ubuntu-latest, windows-latest, macOS-latest]
244+ jdk : [25]
245245 include :
246246 - os : ubuntu-latest
247247 osName : linux
@@ -252,23 +252,13 @@ jobs:
252252 - os : macOS-latest
253253 osName : mac
254254 deploy : false
255- - jdk : 17
256- deploy : false
257- - jdk : 21
258- deploy : false
259255
260256 steps :
261257 - name : Clone the repo
262258 uses : actions/checkout@v6.0.2
263259 with :
264260 fetch-depth : 1
265261
266- - name : Setup the java environment
267- uses : actions/setup-java@v5.2.0
268- with :
269- distribution : ' temurin'
270- java-version : ${{ matrix.jdk }}
271-
272262 - name : Download natives for android
273263 uses : actions/download-artifact@v8.0.1
274264 with :
Original file line number Diff line number Diff line change @@ -18,15 +18,17 @@ version = jmeFullVersion
1818java {
1919 sourceCompatibility = JavaVersion . VERSION_1_8
2020 targetCompatibility = JavaVersion . VERSION_1_8
21+ toolchain {
22+ languageVersion = JavaLanguageVersion . of(25 )
23+ vendor = JvmVendorSpec . ADOPTIUM
24+ }
2125}
2226
2327tasks. withType(JavaCompile ) { // compile-time options:
2428 // options.compilerArgs << '-Xlint:deprecation' // to show deprecation warnings
2529 options. compilerArgs << ' -Xlint:unchecked'
2630 options. encoding = ' UTF-8'
27- if (JavaVersion . current(). isCompatibleWith(JavaVersion . VERSION_1_10 )) {
28- options. release = 8
29- }
31+ options. release = 8
3032}
3133
3234repositories {
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ includeBranchInVersion = false
1515# specify if JavaDoc should be built
1616buildJavaDoc = true
1717
18+ # Let Gradle fetch missing JDKs for toolchains automatically.
19+ org.gradle.java.installations.auto-download =true
20+
1821# specify if SDK and Native libraries get built
1922buildNativeProjects = false
2023buildAndroidExamples = false
Original file line number Diff line number Diff line change 11/**
22 * This is the global settings file used by all subprojects.
33 **/
4+ plugins {
5+ id ' org.gradle.toolchains.foojay-resolver-convention' version ' 1.0.0'
6+ }
7+
48rootProject. name = ' jmonkeyengine'
59
610// Core classes, should work on all java platforms
You can’t perform that action at this time.
0 commit comments