Skip to content

Commit

Permalink
Gradle ITs: fix passing system properties
Browse files Browse the repository at this point in the history
Currently passes something like `-D=maven.repo.local=/home...`, the `=` is wrong here.
  • Loading branch information
snazy committed Feb 5, 2023
1 parent aec9d78 commit 51a05cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private List<String> 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<String> command, BuildResult commandResult, int exitCode) {
Expand Down

0 comments on commit 51a05cf

Please sign in to comment.