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 6969
7070test {
7171 useJUnitPlatform()
72- jvmArgs( ' -Xshare:off' )
72+ jvmArgs " -Xshare:off"
7373 testLogging {
7474 events(' failed' )
7575 }
Original file line number Diff line number Diff line change 11plugins {
2- id ' java'
2+ id ' java'
33}
44
55repositories {
6- mavenCentral()
7- }
8-
9- java {
10- toolchain {
11- languageVersion = JavaLanguageVersion . of(17 )
12- }
6+ mavenCentral()
137}
148
159compileJava {
16- options. encoding = ' UTF-8'
17- sourceCompatibility = ' 17'
18- targetCompatibility = ' 17'
10+ options. encoding = ' UTF-8'
11+ sourceCompatibility = ' 17'
12+ targetCompatibility = ' 17'
1913}
2014
2115dependencies {
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'
2722}
2823
2924test {
30- useJUnitPlatform()
31- testLogging {
32- events ' failed'
33- }
25+ useJUnitPlatform()
26+ jvmArgs " -Xshare:off"
27+ testLogging {
28+ events ' failed'
29+ }
3430}
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =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
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ dependencies {
2929 api(' io.github.jbock-java:either:1.5.2' )
3030 testImplementation(' org.mockito:mockito-core:5.14.2' )
3131 testImplementation(' org.junit.jupiter:junit-jupiter:5.11.2' )
32+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
3233}
3334
3435jar {
4142
4243test {
4344 useJUnitPlatform()
45+ jvmArgs " -Xshare:off"
4446 testLogging {
4547 events(' failed' )
4648 }
You can’t perform that action at this time.
0 commit comments