Skip to content

Commit 06d57f9

Browse files
fix(deps): update junit5 monorepo to v5.12.1 (#1196)
* fix(deps): update junit5 monorepo to v5.12.1 * fix: fix junit and build --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: lojzatran <[email protected]>
1 parent 7a2741b commit 06d57f9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ plugins {
1111
ext{
1212
commercetoolsJavaSdkV2Version = '17.28.0'
1313
mockitoJunitJupiterVersion = '5.16.1'
14-
jupiterApiVersion = '5.11.3'
14+
jupiterApiVersion = '5.12.1'
15+
jupiterPlatformVersion = '1.12.1'
1516
assertjVersion = '3.26.3'
1617
pmdVersion = '7.7.0'
1718
jacocoVersion = '0.8.12'
@@ -55,6 +56,7 @@ dependencies {
5556
testImplementation "org.junit.jupiter:junit-jupiter-params:${jupiterApiVersion}"
5657
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${jupiterApiVersion}"
5758
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${jupiterApiVersion}"
59+
testRuntimeOnly "org.junit.platform:junit-platform-launcher:${jupiterPlatformVersion}"
5860
testImplementation "org.assertj:assertj-core:${assertjVersion}"
5961
testImplementation 'com.github.spotbugs:spotbugs-annotations:4.8.4'
6062
}

gradle-scripts/execution-order.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ check.dependsOn jacocoTestReport
4141
// Ensure jacocoTestCoverageVerification and jacocoTestReport run after integrationTest
4242
jacocoTestCoverageVerification.mustRunAfter integrationTest
4343
jacocoTestReport.mustRunAfter integrationTest
44+
jacocoTestCoverageVerification.mustRunAfter compileBenchmarkJava
45+
jacocoTestCoverageVerification.mustRunAfter javadoc
4446
// Ensure build runs after setLibraryVersion
4547
build.mustRunAfter setLibraryVersion
4648
// Ensure benchmark results are only committed runs after the benchmarks are run

0 commit comments

Comments
 (0)