mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
switch the Java toolchain to version 21
Switch the Java toolchain to version 21 - the version shipped with current AndroidStudio releases. Disable Java 1.8 warnings - see discussion in PR #4735
This commit is contained in:
committed by
José Rebelo
parent
87fd6b1596
commit
03e14edee4
@@ -35,9 +35,9 @@ artifacts {
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
toolchain.languageVersion = JavaLanguageVersion.of(17)
|
||||
// setting sourceCompatibility and targetCompatibility isn't required because this module
|
||||
// ships no complied code
|
||||
toolchain.languageVersion = JavaLanguageVersion.of(21)
|
||||
}
|
||||
|
||||
tasks.named("distTar") {
|
||||
|
||||
Reference in New Issue
Block a user