File tree Expand file tree Collapse file tree 4 files changed +20
-22
lines changed Expand file tree Collapse file tree 4 files changed +20
-22
lines changed Original file line number Diff line number Diff line change 69
69
70
70
test {
71
71
useJUnitPlatform()
72
- jvmArgs( ' -Xshare:off' )
72
+ jvmArgs " -Xshare:off"
73
73
testLogging {
74
74
events(' failed' )
75
75
}
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id ' java'
2
+ id ' java'
3
3
}
4
4
5
5
repositories {
6
- mavenCentral()
7
- }
8
-
9
- java {
10
- toolchain {
11
- languageVersion = JavaLanguageVersion . of(17 )
12
- }
6
+ mavenCentral()
13
7
}
14
8
15
9
compileJava {
16
- options. encoding = ' UTF-8'
17
- sourceCompatibility = ' 17'
18
- targetCompatibility = ' 17'
10
+ options. encoding = ' UTF-8'
11
+ sourceCompatibility = ' 17'
12
+ targetCompatibility = ' 17'
19
13
}
20
14
21
15
dependencies {
22
- def jbock = project(' :jbock' )
23
- implementation(jbock)
24
- annotationProcessor project(' :compiler' )
25
- annotationProcessor project(' :jbock' )
26
- testImplementation ' org.junit.jupiter:junit-jupiter:5.9.1'
16
+ def jbock = project(' :jbock' )
17
+ implementation(jbock)
18
+ annotationProcessor project(' :compiler' )
19
+ annotationProcessor project(' :jbock' )
20
+ testImplementation ' org.junit.jupiter:junit-jupiter:5.11.2'
21
+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
27
22
}
28
23
29
24
test {
30
- useJUnitPlatform()
31
- testLogging {
32
- events ' failed'
33
- }
25
+ useJUnitPlatform()
26
+ jvmArgs " -Xshare:off"
27
+ testLogging {
28
+ events ' failed'
29
+ }
34
30
}
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.10.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.11 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ dependencies {
29
29
api(' io.github.jbock-java:either:1.5.2' )
30
30
testImplementation(' org.mockito:mockito-core:5.14.2' )
31
31
testImplementation(' org.junit.jupiter:junit-jupiter:5.11.2' )
32
+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
32
33
}
33
34
34
35
jar {
41
42
42
43
test {
43
44
useJUnitPlatform()
45
+ jvmArgs " -Xshare:off"
44
46
testLogging {
45
47
events(' failed' )
46
48
}
You can’t perform that action at this time.
0 commit comments