Fix: Use toolchain to set the lwjgl module java version to 8

This commit is contained in:
Mathias-Boulay 2023-05-01 11:33:04 +02:00
parent 79fb01150e
commit ae25da0251

View File

@ -23,8 +23,9 @@ jar {
} }
java { java {
sourceCompatibility = JavaVersion.VERSION_1_8 toolchain {
targetCompatibility = JavaVersion.VERSION_1_8 languageVersion = JavaLanguageVersion.of(8)
}
} }
dependencies { dependencies {