Revert to Java version 11

This commit is contained in:
davidoskky 2023-08-19 11:33:34 +02:00
parent 85d966f54b
commit 1e6bc57751
2 changed files with 6 additions and 5 deletions

View File

@ -57,13 +57,13 @@ android {
compileOptions {
isCoreLibraryDesugaringEnabled = true
// Flag to enable support for the new language APIs
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
// For Kotlin projects
kotlinOptions {
jvmTarget = "17"
jvmTarget = "11"
}
compileSdk = 33
buildToolsVersion = "33.0.0"

View File

@ -17,6 +17,7 @@ plugins {
kotlin {
androidTarget()
jvmToolchain(11)
listOf(
iosX64(),
@ -108,8 +109,8 @@ android {
minSdk = 21
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
namespace = "bou.amine.apps.readerforselfossv2"
}