Skip to content

Commit

Permalink
Fix GenerateFeaturesTest by suppressing Gradle deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylking committed Oct 19, 2023
1 parent df3e61d commit 4617f9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class BaseDevTest extends AbstractIntegrationTest {
gradlew = new File("gradlew")
}

StringBuilder command = new StringBuilder(gradlew.getAbsolutePath() + " libertyDev");
StringBuilder command = new StringBuilder(gradlew.getAbsolutePath() + " --warning-mode none libertyDev");
if (params != null) {
command.append(" " + params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class BaseGenerateFeaturesTest extends AbstractIntegrationTest {
gradlew = new File("gradlew");
}

StringBuilder command = new StringBuilder(gradlew.getAbsolutePath() + " " + processCommand);
StringBuilder command = new StringBuilder(gradlew.getAbsolutePath() + " --warning-mode none " + processCommand);

System.out.println("Running command: " + command.toString());
ProcessBuilder builder = buildProcess(command.toString());
Expand Down

0 comments on commit 4617f9b

Please sign in to comment.