Skip to content

Commit 457aefb

Browse files
authored
chore: use jdk 21 (#47)
1 parent 9845f40 commit 457aefb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

example-app/android/app/capacitor.build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
android {
44
compileOptions {
5-
sourceCompatibility JavaVersion.VERSION_17
6-
targetCompatibility JavaVersion.VERSION_17
5+
sourceCompatibility JavaVersion.VERSION_21
6+
targetCompatibility JavaVersion.VERSION_21
77
}
88
}
99

plugin/android/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ android {
5959
}
6060
}
6161

62+
kotlin {
63+
jvmToolchain(21)
64+
}
65+
6266
repositories {
6367
maven {
6468
url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'

0 commit comments

Comments
 (0)