Skip to content

Commit 6c72b62

Browse files
committed
update junit
1 parent ff8d3aa commit 6c72b62

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

compiler/build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ dependencies {
5353
annotationProcessor('io.github.jbock-java:simple-component-compiler:1.024')
5454
testRuntimeOnly('org.junit.platform:junit-platform-launcher')
5555
testImplementation('io.github.jbock-java:compile-testing:0.19.12')
56-
testImplementation('org.junit.jupiter:junit-jupiter:5.12.1')
56+
testImplementation platform('org.junit:junit-bom:5.12.2')
57+
testImplementation('org.junit.jupiter:junit-jupiter')
5758
testImplementation('org.mockito:mockito-core:5.16.1')
5859
testImplementation(jbock)
5960
testImplementation(simple_component)
@@ -69,10 +70,6 @@ jar {
6970

7071
test {
7172
useJUnitPlatform()
72-
jvmArgs "-Xshare:off"
73-
testLogging {
74-
events('failed')
75-
}
7673
}
7774

7875
tasks.register('javadocJar', Jar) {

examples/build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,11 @@ dependencies {
1717
implementation(jbock)
1818
annotationProcessor project(':compiler')
1919
annotationProcessor project(':jbock')
20-
testImplementation('org.junit.jupiter:junit-jupiter:5.12.1')
20+
testImplementation platform('org.junit:junit-bom:5.12.2')
21+
testImplementation('org.junit.jupiter:junit-jupiter')
2122
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
2223
}
2324

2425
test {
2526
useJUnitPlatform()
26-
jvmArgs "-Xshare:off"
27-
testLogging {
28-
events 'failed'
29-
}
3027
}

jbock/build.gradle

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ tasks.withType(GenerateModuleMetadata) {
2727

2828
dependencies {
2929
api('io.github.jbock-java:either:1.5.2')
30-
testImplementation('org.junit.jupiter:junit-jupiter:5.12.1')
30+
testImplementation platform('org.junit:junit-bom:5.12.2')
31+
testImplementation('org.junit.jupiter:junit-jupiter')
3132
testImplementation('org.mockito:mockito-core:5.16.1')
32-
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
3333
}
3434

3535
jar {
@@ -42,10 +42,6 @@ jar {
4242

4343
test {
4444
useJUnitPlatform()
45-
jvmArgs "-Xshare:off"
46-
testLogging {
47-
events('failed')
48-
}
4945
}
5046

5147
task javadocJar(type: Jar) {

0 commit comments

Comments
 (0)