- always use Java toolchains
- default is Java 11 (but source/targetCompatibility is still 1.8)
- use system property `toolchain` (e.g. `-Dtoolchain=25`) to compile with other Java versions

preparation for Gradle 9.x, which requires Java 17+ to run
This commit is contained in:
Karl Tauber
2025-10-28 12:42:04 +01:00
parent 3ccaacfb00
commit 056da35758
13 changed files with 19 additions and 21 deletions

View File

@@ -26,6 +26,7 @@ if( !rootProject.hasProperty( "release" ) )
plugins {
`java-library`
`flatlaf-toolchain`
`flatlaf-module-info`
`flatlaf-publish`
}

View File

@@ -26,6 +26,7 @@ if( !rootProject.hasProperty( "release" ) )
plugins {
`java-library`
`flatlaf-toolchain`
`flatlaf-module-info`
`flatlaf-publish`
}

View File

@@ -26,6 +26,7 @@ if( !rootProject.hasProperty( "release" ) )
plugins {
`java-library`
`flatlaf-toolchain`
`flatlaf-module-info`
`flatlaf-publish`
}

View File

@@ -26,6 +26,7 @@ if( !rootProject.hasProperty( "release" ) )
plugins {
`java-library`
`flatlaf-toolchain`
`flatlaf-module-info`
`flatlaf-publish`
}