Skip to content

Commit 4a485b0

Browse files
committed
fixup! Remove test scope from testng and jupiter dependencies
1 parent ed93e30 commit 4a485b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ dependencies {
5757
rewrite("org.openrewrite.recipe:rewrite-recommendations:latest.release")
5858

5959
// ↓ Classpath resource for MigrateTestNg* recipes
60-
implementation("org.testng:testng:latest.release")
60+
implementation("org.testng:testng:7.5.1") // 7.5.x is the last Java 8 compatible version: https://github.com/testng-team/testng/issues/2775
61+
6162
// ↓ also make jupiter available for refaster compilation
62-
implementation("org.junit.jupiter:junit-jupiter:latest.release")
63+
compileOnly("org.junit.jupiter:junit-jupiter-api:latest.release")
6364

6465
// ↓ to allow using testing recipes in our recipe list
6566
testRuntimeOnly("org.openrewrite.recipe:rewrite-testing-frameworks:latest.release") {

0 commit comments

Comments
 (0)