Skip to content

Commit

Permalink
fixup! Add apiguardian compileOnlyApi to fix Gradle build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Philzen committed Jun 24, 2024
1 parent e43b715 commit 38dc817
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ dependencies {
// ↓ Classpath resource for MigrateTestNg* recipes
testRuntimeOnly("org.testng:testng:7.5.1") // 7.5.x is the last Java 8 compatible version: https://github.com/testng-team/testng/issues/2775
testRuntimeOnly("org.junit.jupiter:junit-jupiter-api:latest.release")
testImplementation("org.apiguardian:apiguardian-api:latest.release")
testImplementation("org.apiguardian:apiguardian-api:latest.release") {
because("Non-essential annotations on JUnit 5 implementations, provided here to avoid 'unknown enum constant Status.STABLE' warning on gradle CI build")
}

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

0 comments on commit 38dc817

Please sign in to comment.