Skip to content

Commit

Permalink
chore: use jdk 21 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsChaceD authored Dec 16, 2024
1 parent 5f3ecab commit 89ea7b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@ android {
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
}
}

kotlin {
jvmToolchain(21)
}

repositories {
google()
mavenCentral()
Expand Down
4 changes: 2 additions & 2 deletions example-app/android/app/capacitor.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
}
}

Expand Down

0 comments on commit 89ea7b2

Please sign in to comment.