Skip to content

Commit

Permalink
Merge pull request #26 from RedMadRobot/feature/update-jvm-version
Browse files Browse the repository at this point in the history
update JavaVersion to VERSION_11
  • Loading branch information
AleksandrTabolin authored Sep 2, 2024
2 parents 69edb4b + 4d701fe commit f252707
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 27 deletions.
7 changes: 4 additions & 3 deletions panel-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@ 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 = JavaVersion.VERSION_11.toString()
freeCompilerArgs += "-Xexplicit-api=strict"
}


buildFeatures {
viewBinding = true
}
Expand Down
6 changes: 3 additions & 3 deletions panel-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ 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 = JavaVersion.VERSION_11.toString()
freeCompilerArgs += listOf("-opt-in=kotlin.RequiresOptIn")
}

Expand Down
6 changes: 3 additions & 3 deletions panel-no-op/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ 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 = JavaVersion.VERSION_11.toString()
}

namespace = "com.redmadrobot.debug.noop"
Expand Down
6 changes: 3 additions & 3 deletions plugins/plugin-accounts/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ 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 = JavaVersion.VERSION_11.toString()
}

kapt {
Expand Down
6 changes: 3 additions & 3 deletions plugins/plugin-app-settings/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ 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 = JavaVersion.VERSION_11.toString()
}

buildFeatures {
Expand Down
6 changes: 3 additions & 3 deletions plugins/plugin-flipper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ 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 = JavaVersion.VERSION_11.toString()
freeCompilerArgs += "-Xexplicit-api=strict"
}

Expand Down
6 changes: 3 additions & 3 deletions plugins/plugin-konfeature/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ 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 = JavaVersion.VERSION_11.toString()
freeCompilerArgs += "-Xexplicit-api=strict"
}

Expand Down
6 changes: 3 additions & 3 deletions plugins/plugin-servers/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ 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 = JavaVersion.VERSION_11.toString()
}

buildFeatures {
Expand Down
6 changes: 3 additions & 3 deletions sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ 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 = JavaVersion.VERSION_11.toString()
}

buildFeatures {
Expand Down

0 comments on commit f252707

Please sign in to comment.