Skip to content

Commit

Permalink
chore: roll back support for Java 8 (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
DevSrSouza authored Nov 7, 2023
1 parent 295559d commit 6d676b1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 0 additions & 4 deletions android-module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,4 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}

kotlin {
jvmToolchain(8)
}
12 changes: 11 additions & 1 deletion kotlin-module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@ apply plugin: 'kotlin'

compileKotlin {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
jvmTarget = JavaVersion.VERSION_1_8.toString()
freeCompilerArgs += '-Xexplicit-api=strict'
}
}

kotlin {
jvmToolchain(8)
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}

0 comments on commit 6d676b1

Please sign in to comment.