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 // Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility = "11"
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility = "11"
} }
kotlinOptions { kotlinOptions {
jvmTarget = '1.8' jvmTarget = '11'
} }
lint { lint {

View File

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