public Map<String, String> getEffectiveSystemProperties() { Map<String, String> systemProperties = new HashMap<String, String>(); GUtil.addToMap(systemProperties, jvmOptions.getMutableSystemProperties()); GUtil.addToMap(systemProperties, jvmOptions.getImmutableDaemonProperties()); GUtil.addToMap(systemProperties, System.getProperties()); return systemProperties; }
public void applyDefaultsFor(JavaVersion javaVersion) { if (hasJvmArgs) { return; } if (javaVersion.compareTo(JavaVersion.VERSION_1_9) >= 0) { jvmOptions.jvmArgs(DEFAULT_JVM_9_ARGS); } else { jvmOptions.jvmArgs(DEFAULT_JVM_ARGS); } }
public DaemonParameters(BuildLayoutParameters layout, Map<String, String> extraSystemProperties) { jvmOptions.systemProperties(extraSystemProperties); baseDir = new File(layout.getGradleUserHomeDir(), "daemon"); gradleUserHomeDir = layout.getGradleUserHomeDir(); }
public boolean getDebug() { return jvmOptions.getDebug(); }
public void setDebug(boolean debug) { jvmOptions.setDebug(debug); }
public void setJvmArgs(Iterable<String> jvmArgs) { hasJvmArgs = true; jvmOptions.setAllJvmArgs(jvmArgs); }
public Map<String, String> getSystemProperties() { Map<String, String> systemProperties = new HashMap<String, String>(); GUtil.addToMap(systemProperties, jvmOptions.getMutableSystemProperties()); return systemProperties; }
public List<String> getEffectiveSingleUseJvmArgs() { return jvmOptions.getAllSingleUseImmutableJvmArgs(); }