Skip to content

Commit

Permalink
- java 17 some more
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed May 28, 2024
1 parent aac0628 commit 1664998
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aboutlibraries-compose-m2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"

if (project.findProperty("composeCompilerReports") == "true") {
freeCompilerArgs += listOf(
Expand Down
2 changes: 1 addition & 1 deletion aboutlibraries-compose-m3/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
if (project.findProperty("composeCompilerReports") == "true") {
freeCompilerArgs += listOf(
"-P",
Expand Down
4 changes: 4 additions & 0 deletions aboutlibraries/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ android {
kotlinOptions.freeCompilerArgs += ["-module-name", POM_ARTIFACT_ID]
}

kotlin {
jvmToolchain(17)
}

dependencies {
api project(':aboutlibraries-core')

Expand Down

0 comments on commit 1664998

Please sign in to comment.