lock in on java17

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2023-05-09 09:01:19 +02:00
parent b372159b37
commit c8f67462ec
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 7 additions and 0 deletions

View file

@ -210,6 +210,11 @@ android {
aidl true aidl true
} }
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions { kotlinOptions {
jvmTarget = "17" jvmTarget = "17"
} }

View file

@ -24,10 +24,12 @@ android {
minifyEnabled false minifyEnabled false
} }
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_17 sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17
} }
kotlinOptions { kotlinOptions {
jvmTarget = '17' jvmTarget = '17'
} }