From 8e2c67dedb0220172c6098784f8ecd211d16c107 Mon Sep 17 00:00:00 2001 From: Robert Stupp Date: Tue, 11 Apr 2023 14:18:51 +0200 Subject: [PATCH] Gradle: do not pass all system properties --- .../src/main/java/io/quarkus/gradle/tasks/QuarkusTask.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks/QuarkusTask.java b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks/QuarkusTask.java index 7296c33730523..f8c37e558869b 100644 --- a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks/QuarkusTask.java +++ b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks/QuarkusTask.java @@ -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());