From 1a48b9c7bbe703572a005f31fe4ac60de699b26b Mon Sep 17 00:00:00 2001 From: Robert Stupp Date: Sun, 5 Feb 2023 17:42:13 +0100 Subject: [PATCH] Gradle ITs: fix passing system properties Currently passes something like `-D=maven.repo.local=/home...`, the `=` is wrong here. --- .../java/io/quarkus/gradle/QuarkusGradleWrapperTestBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/gradle/src/test/java/io/quarkus/gradle/QuarkusGradleWrapperTestBase.java b/integration-tests/gradle/src/test/java/io/quarkus/gradle/QuarkusGradleWrapperTestBase.java index 8aa6be43bf3e1..8ffd6bdb97e79 100644 --- a/integration-tests/gradle/src/test/java/io/quarkus/gradle/QuarkusGradleWrapperTestBase.java +++ b/integration-tests/gradle/src/test/java/io/quarkus/gradle/QuarkusGradleWrapperTestBase.java @@ -104,7 +104,7 @@ private List getSytemProperties() { } private static String toPropertyArg(String name, String value) { - return new StringBuilder().append("-D=").append(name).append("=").append(value).toString(); + return new StringBuilder().append("-D").append(name).append("=").append(value).toString(); } private void printCommandOutput(File projectDir, List command, BuildResult commandResult, int exitCode) {