Skip to content

Commit

Permalink
fixup! Remove test scope from testng and jupiter dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Philzen committed Jun 12, 2024
1 parent ed93e30 commit 3390454
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,13 @@ dependencies {
rewrite("org.openrewrite.recipe:rewrite-recommendations:latest.release")

// ↓ Classpath resource for MigrateTestNg* recipes
implementation("org.testng:testng:latest.release")
compileOnly("org.testng:testng:7.5.1") // 7.5.x is the last Java 8 compatible version: https://github.com/testng-team/testng/issues/2775

// ↓ also make jupiter available for refaster compilation
implementation("org.junit.jupiter:junit-jupiter:latest.release")
compileOnly("org.junit.jupiter:junit-jupiter-api:latest.release")

// ↓ to allow using testing recipes in our recipe list
testRuntimeOnly("org.openrewrite.recipe:rewrite-testing-frameworks:latest.release") {
compileOnly("org.openrewrite.recipe:rewrite-testing-frameworks:latest.release") {
exclude("org.testcontainers", "testcontainers")
}
}
Expand Down

0 comments on commit 3390454

Please sign in to comment.