Skip to content

Commit 642c6a4

Browse files
committed
chore: upgrade Gradle wrapper to 9.5.1 and fix Gradle 9 compatibility
1 parent 265f0dd commit 642c6a4

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

build-logic/build.gradle.kts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import org.gradle.kotlin.dsl.`kotlin-dsl`
2+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
23
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
34

45
plugins {
@@ -23,10 +24,8 @@ java {
2324
}
2425

2526
tasks.withType<KotlinCompile>().configureEach {
26-
kotlinOptions {
27-
jvmTarget = "11"
28-
apiVersion = "1.8"
29-
languageVersion = "1.8"
27+
compilerOptions {
28+
jvmTarget.set(JvmTarget.JVM_11)
3029
}
3130
}
3231

jpasskit.server/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ project.description = "Java Server Example for Apple PassBook Web Service API"
1919
java {
2020
withJavadocJar()
2121
}
22+
23+
tasks.named<Test>("test") {
24+
failOnNoDiscoveredTests = false
25+
}
26+

0 commit comments

Comments
 (0)