Skip to content

Commit 7b4677f

Browse files
committed
Fix junit platform dependencies.
1 parent 5a46313 commit 7b4677f

File tree

1 file changed

+4
-3
lines changed
  • spring-cloud-contract-tools/spring-cloud-contract-gradle-plugin

1 file changed

+4
-3
lines changed

spring-cloud-contract-tools/spring-cloud-contract-gradle-plugin/build.gradle

+4-3
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ dependencies {
9292
testImplementation "org.springframework.boot:spring-boot-starter-test"
9393
testImplementation localGroovy()
9494
testImplementation gradleTestKit()
95+
testImplementation(platform('org.junit:junit-bom:5.12.1'))
96+
testImplementation('org.junit.jupiter:junit-jupiter')
97+
testRuntimeOnly('org.junit.platform:junit-platform-launcher')
9598
}
9699

97100
task libtest() {
@@ -101,9 +104,7 @@ task libtest() {
101104
}
102105

103106
test {
104-
useJUnitPlatform {
105-
version = "5.12.1"
106-
}
107+
useJUnitPlatform ()
107108
testLogging {
108109
exceptionFormat = 'full'
109110
}

0 commit comments

Comments
 (0)