Skip to content

Commit d06db9b

Browse files
committed
TESTING
1 parent 33ef393 commit d06db9b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ tasks {
6565
}
6666

6767
withType<Test>().configureEach {
68-
useJUnitPlatform()
68+
useJUnitPlatform("5.13.4")
6969

7070
val maxTestRetries = gradle.startParameter.projectProperties["maxTestRetries"]?.toInt() ?: 0
7171
develocity.testRetry {
@@ -147,15 +147,11 @@ dependencies {
147147

148148
testing {
149149
suites.withType(JvmTestSuite::class).configureEach {
150-
useJUnitJupiter()
150+
useJUnitJupiter("5.13.4")
151151

152152
dependencies {
153153
implementation(project(project.path))
154154

155-
// this is only needed to establish the version of JUnit we want to use
156-
// since Renovate doesn't currently understand useJUnitJupiter("<version>")
157-
implementation("org.junit.jupiter:junit-jupiter-api:5.14.0")
158-
159155
implementation(enforcedPlatform("org.testcontainers:testcontainers-bom:1.21.3"))
160156
implementation(enforcedPlatform("com.google.guava:guava-bom:33.5.0-jre"))
161157
implementation(enforcedPlatform("com.linecorp.armeria:armeria-bom:1.33.4"))

0 commit comments

Comments
 (0)