Skip to content

Commit

Permalink
added apiguardian-api so no more rt warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wipu committed Nov 21, 2024
1 parent 34f7e29 commit 935843d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ public static List<GnvArtifact<Downloaded>> junitJupiterCompileDeps() {
}

public static List<GnvArtifact<Downloaded>> junitJupiterRtDeps() {
return List.of(junitJupiterEngine(), junitPlatformCommons(),
junitJupiterParams(), junitPlatformConsole(),
junitPlatformLauncher(), junitPlatformEngine(),
junitVintageEngine(), opentest4j());
return List.of(apiguardianApi(), junitJupiterEngine(),
junitPlatformCommons(), junitJupiterParams(),
junitPlatformConsole(), junitPlatformLauncher(),
junitPlatformEngine(), junitVintageEngine(), opentest4j());
}

public static GnvArtifact<Downloaded> antJar() {
Expand Down Expand Up @@ -101,6 +101,10 @@ public static GnvArtifact<Downloaded> junitVintageEngine() {
JUNIT_JUPITER_VER);
}

public static GnvArtifact<Downloaded> apiguardianApi() {
return gnv("org.apiguardian", "apiguardian-api", "1.1.2");
}

public static GnvArtifact<Downloaded> opentest4j() {
return gnv("org.opentest4j", "opentest4j", "1.3.0");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ public void iwantPluginJunit5runnerWithDependenciesContainsCorrectModules() {

assertEquals("[iwant-plugin-junit5runner,"
+ " hamcrest-core-1.3.jar, junit-4.13.2.jar, junit-jupiter-5.10.2.jar,"
+ " junit-jupiter-api-5.10.2.jar, junit-jupiter-engine-5.10.2.jar,"
+ " junit-jupiter-api-5.10.2.jar, apiguardian-api-1.1.2.jar,"
+ " junit-jupiter-engine-5.10.2.jar,"
+ " junit-platform-commons-1.10.2.jar, junit-jupiter-params-5.10.2.jar,"
+ " junit-platform-console-1.10.2.jar, junit-platform-launcher-1.10.2.jar,"
+ " junit-platform-engine-1.10.2.jar, junit-vintage-engine-5.10.2.jar,"
Expand Down

0 comments on commit 935843d

Please sign in to comment.