Bump Java version to 11

This commit is contained in:
William Brawner 2024-10-01 21:17:34 -06:00
parent 50c181004f
commit 2f5a58c101
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35
4 changed files with 12 additions and 12 deletions

View file

@ -37,11 +37,11 @@ android {
} }
compileSdk = libs.versions.maxSdk.get().toInt() compileSdk = libs.versions.maxSdk.get().toInt()
compileOptions { compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_11
} }
kotlinOptions { kotlinOptions {
jvmTarget = "1.8" jvmTarget = "11"
} }
defaultConfig { defaultConfig {
applicationId = "com.wbrawner.simplemarkdown" applicationId = "com.wbrawner.simplemarkdown"

View file

@ -41,11 +41,11 @@ android {
} }
} }
compileOptions { compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_11
} }
kotlinOptions { kotlinOptions {
jvmTarget = "1.8" jvmTarget = "11"
} }
lint { lint {
disable += listOf("AndroidGradlePluginVersion", "GradleDependency") disable += listOf("AndroidGradlePluginVersion", "GradleDependency")

View file

@ -27,11 +27,11 @@ android {
compose = true compose = true
} }
compileOptions { compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_11
} }
kotlinOptions { kotlinOptions {
jvmTarget = "1.8" jvmTarget = "11"
} }
lint { lint {
disable += listOf("AndroidGradlePluginVersion", "GradleDependency") disable += listOf("AndroidGradlePluginVersion", "GradleDependency")

View file

@ -24,14 +24,14 @@ android {
} }
} }
compileOptions { compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_11
} }
buildFeatures { buildFeatures {
compose = true compose = true
} }
kotlinOptions { kotlinOptions {
jvmTarget = "1.8" jvmTarget = "11"
} }
lint { lint {
disable += listOf("AndroidGradlePluginVersion", "GradleDependency") disable += listOf("AndroidGradlePluginVersion", "GradleDependency")