bug 501842: Passing System.properties containing proxy settings to Gradle test JVM instances
diff --git a/build.gradle b/build.gradle index 7007831..6f8984f 100644 --- a/build.gradle +++ b/build.gradle
@@ -69,12 +69,14 @@ mavenCentral() } test { + // we need to set the system properties for the jvm executing the tests explicitly + // so we copy system properties relevant for proxying external requests + // see Bug 501842 System.properties.each { k,v -> if(k.startsWith('http.') || k.startsWith('https.') || k.startsWith('ftp')) { systemProperty k,v } } - println allJvmArgs } jar { from "$rootDir/build-bundlor/resources/about/notice.html"