Android: Upgrade Java bytecode from 1.8 to 11

This commit is contained in:
Charles Lombardo 2023-01-14 18:35:32 -05:00
parent 27466fd5f9
commit 45cdc7357a
2 changed files with 6 additions and 6 deletions

View File

@ -13,12 +13,12 @@ android {
// Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility = "11"
targetCompatibility = "11"
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '11'
}
lint {

View File

@ -10,12 +10,12 @@ android {
compileSdk 33
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = "11"
targetCompatibility = "11"
}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "11"
}
defaultConfig {