Skip to content

Commit

Permalink
Merge pull request #32535 from snazy/gradle-not-all-sys-props
Browse files Browse the repository at this point in the history
Gradle: do not pass all system properties
  • Loading branch information
geoand committed Apr 12, 2023
2 parents 52b40a9 + 8e2c67d commit 56b9b99
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ private void configureProcessWorkerSpec(ProcessWorkerSpec processWorkerSpec, Eff

customizations.forEach(a -> a.execute(forkOptions));

// Pass all system properties
System.getProperties().forEach((k, v) -> {
String key = k.toString();
forkOptions.systemProperty(key, v);
});

// Pass all environment variables
forkOptions.environment(System.getenv());

Expand Down

0 comments on commit 56b9b99

Please sign in to comment.