diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 377a9e3..5e1831d 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -53,11 +53,11 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = "17" + jvmTarget = "11" } composeOptions { kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get() diff --git a/benchmark/build.gradle.kts b/benchmark/build.gradle.kts index 9b773c6..97c96de 100644 --- a/benchmark/build.gradle.kts +++ b/benchmark/build.gradle.kts @@ -43,11 +43,11 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = "17" + jvmTarget = "11" } sourceSets { named("main") { diff --git a/build-logic/convention/build.gradle.kts b/build-logic/convention/build.gradle.kts index e732163..85cc179 100644 --- a/build-logic/convention/build.gradle.kts +++ b/build-logic/convention/build.gradle.kts @@ -21,12 +21,12 @@ plugins { } java { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } tasks.withType().configureEach { kotlinOptions { - jvmTarget = "17" + jvmTarget = "11" } } diff --git a/build-logic/convention/src/main/kotlin/com/fragula2/gradle/FragulaModulePlugin.kt b/build-logic/convention/src/main/kotlin/com/fragula2/gradle/FragulaModulePlugin.kt index 9d7bb4c..adc2b49 100644 --- a/build-logic/convention/src/main/kotlin/com/fragula2/gradle/FragulaModulePlugin.kt +++ b/build-logic/convention/src/main/kotlin/com/fragula2/gradle/FragulaModulePlugin.kt @@ -43,12 +43,12 @@ class FragulaModulePlugin : Plugin { consumerProguardFiles("consumer-rules.pro") } compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } tasks.withType().configureEach { kotlinOptions { - jvmTarget = "17" + jvmTarget = "11" } } sourceSets {