Skip to content

Commit

Permalink
enable building on jdk 17 and up
Browse files Browse the repository at this point in the history
  • Loading branch information
connyduck committed Jun 28, 2024
1 parent a0933ca commit ac250c1
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 ac250c1

Please sign in to comment.