Skip to content

Commit eeb78e9

Browse files
chore: upgrade libs
1 parent 54e8bfd commit eeb78e9

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed

build.gradle.kts

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import org.gradle.api.tasks.testing.logging.TestLogEvent
2-
31
plugins {
42
java
5-
id("com.diffplug.spotless") version "8.2.1"
3+
id("com.diffplug.spotless") version "8.4.0"
64
id("com.github.ben-manes.versions") version "0.53.0"
75
}
86

@@ -11,15 +9,16 @@ repositories {
119
}
1210

1311
java {
14-
sourceCompatibility = JavaVersion.VERSION_21
15-
targetCompatibility = JavaVersion.VERSION_21
12+
toolchain {
13+
languageVersion.set(JavaLanguageVersion.of(25))
14+
}
1615
}
1716

1817
dependencies {
19-
implementation("org.junit.jupiter:junit-jupiter-api:5.14.2")
20-
testImplementation("org.junit.jupiter:junit-jupiter-params:5.14.2")
21-
testImplementation("org.junit.platform:junit-platform-launcher:1.14.2")
22-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.14.2")
18+
implementation("org.junit.jupiter:junit-jupiter-api:5.14.3")
19+
testImplementation("org.junit.jupiter:junit-jupiter-params:5.14.3")
20+
testImplementation("org.junit.platform:junit-platform-launcher:1.14.3")
21+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.14.3")
2322
}
2423

2524
spotless {
@@ -31,19 +30,12 @@ spotless {
3130
}
3231
}
3332

34-
tasks {
35-
test {
36-
useJUnitPlatform()
37-
// includeTags 'example1'
38-
// excludeTags 'example2'
39-
testLogging {
40-
events = setOf(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED)
41-
}
42-
}
33+
tasks.named<Test>("test") {
34+
useJUnitPlatform()
35+
}
4336

4437
// task example2Test(type: Test) {
4538
// useJUnitPlatform {
4639
// includeTags = "example2"
4740
// }
4841
// }
49-
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)