Skip to content

Commit

Permalink
2.5.0-alpha12 (#82)
Browse files Browse the repository at this point in the history
* java 11 dowgrade

* jvmToolchain
  • Loading branch information
alex-tiurin authored Jul 29, 2024
1 parent 7d19d4e commit 4db0a4e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ kotlin.mpp.enableCInteropCommonization=true

GROUP=com.atiurin
POM_ARTIFACT_ID=ultron
VERSION_NAME=2.5.0-alpha10
VERSION_NAME=2.5.0-alpha12
7 changes: 5 additions & 2 deletions ultron-allure/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ plugins {
group = project.findProperty("GROUP")!!
version = project.findProperty("VERSION_NAME")!!

kotlin {
jvmToolchain(11)
}

android {
namespace = "com.atiurin.ultron.allure"
Expand All @@ -26,8 +29,8 @@ android {
}
}
compileOptions {
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_11
}

publishing {
Expand Down
8 changes: 6 additions & 2 deletions ultron-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ plugins {
group = project.findProperty("GROUP")!!
version = project.findProperty("VERSION_NAME")!!

kotlin {
jvmToolchain(11)
}

android {
namespace = "com.atiurin.ultron.android"
compileSdk = 34
Expand All @@ -19,8 +23,8 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

publishing {
Expand Down
6 changes: 3 additions & 3 deletions ultron-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ kotlin {
publishLibraryVariants("release")
@OptIn(ExperimentalKotlinGradlePluginApi::class)
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
jvmTarget.set(JvmTarget.JVM_11)
}
}
applyDefaultHierarchyTemplate()
Expand Down Expand Up @@ -85,8 +85,8 @@ android {
minSdk = 21
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}

Expand Down
6 changes: 3 additions & 3 deletions ultron-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kotlin {
publishLibraryVariants("release")
@OptIn(ExperimentalKotlinGradlePluginApi::class)
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
jvmTarget.set(JvmTarget.JVM_11)
}
}
@OptIn(ExperimentalKotlinGradlePluginApi::class)
Expand Down Expand Up @@ -92,8 +92,8 @@ android {
multiDexEnabled = true
}
compileOptions {
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_11
}
}

Expand Down

0 comments on commit 4db0a4e

Please sign in to comment.