From 79d609f1383014453bd6d79f84d0ef11de315370 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Tue, 1 Oct 2024 21:17:34 -0600 Subject: [PATCH] Bump Java version to 11 --- app/build.gradle.kts | 6 +++--- core/build.gradle.kts | 6 +++--- free/build.gradle.kts | 6 +++--- non-free/build.gradle.kts | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8780e82..8dde65b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -37,11 +37,11 @@ android { } compileSdk = libs.versions.maxSdk.get().toInt() compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = "11" } defaultConfig { applicationId = "com.wbrawner.simplemarkdown" diff --git a/core/build.gradle.kts b/core/build.gradle.kts index a50b5a2..bc8e67f 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -41,11 +41,11 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = "11" } lint { disable += listOf("AndroidGradlePluginVersion", "GradleDependency") diff --git a/free/build.gradle.kts b/free/build.gradle.kts index a5b581e..a65414b 100644 --- a/free/build.gradle.kts +++ b/free/build.gradle.kts @@ -27,11 +27,11 @@ android { compose = true } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = "11" } lint { disable += listOf("AndroidGradlePluginVersion", "GradleDependency") diff --git a/non-free/build.gradle.kts b/non-free/build.gradle.kts index 23f5289..5e62253 100644 --- a/non-free/build.gradle.kts +++ b/non-free/build.gradle.kts @@ -24,14 +24,14 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } buildFeatures { compose = true } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = "11" } lint { disable += listOf("AndroidGradlePluginVersion", "GradleDependency")