Skip to content

Commit

Permalink
Merge pull request #118 from connyduck/enable-building-on-java-21
Browse files Browse the repository at this point in the history
enable building on jdk 17 and up
  • Loading branch information
hpoul authored Jun 28, 2024
2 parents a0933ca + ac250c1 commit 8e3e6ce
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,19 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'

kotlin {
jvmToolchain(17)
}

android {
namespace "design.codeux.biometric_storage"
compileSdk 31

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '17'
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
Expand Down

0 comments on commit 8e3e6ce

Please sign in to comment.