Skip to content

Commit 124ff20

Browse files
authored
Merge pull request #17 from swiftlang/update-to-17
Update hashing-example to Java 17 compatibility
2 parents b591ae0 + af0d3a8 commit 124ff20

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

hello-swift-java/hashing-app/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ android {
2828
}
2929
}
3030
compileOptions {
31-
sourceCompatibility = JavaVersion.VERSION_11
32-
targetCompatibility = JavaVersion.VERSION_11
31+
sourceCompatibility = JavaVersion.VERSION_17
32+
targetCompatibility = JavaVersion.VERSION_17
3333
}
3434
kotlinOptions {
35-
jvmTarget = "11"
35+
jvmTarget = "17"
3636
}
3737
buildFeatures {
3838
compose = true

hello-swift-java/hashing-lib/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ android {
1414
defaultConfig {
1515
minSdkVersion 28
1616
}
17-
}
1817

19-
java {
20-
sourceCompatibility = JavaVersion.VERSION_11
21-
targetCompatibility = JavaVersion.VERSION_11
18+
compileOptions {
19+
sourceCompatibility = JavaVersion.VERSION_17
20+
targetCompatibility = JavaVersion.VERSION_17
21+
}
2222
}
2323

2424
dependencies {

0 commit comments

Comments
 (0)