- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for withSystemProperty (0.37 sec)
-
platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/SystemPropertiesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/SystemProperties.java
* @param value The value to temporarily set the property to * @param factory Instance created by the Factory implementation */ public synchronized <T> T withSystemProperty(String propertyName, String value, Factory<T> factory) { String originalValue = overrideProperty(propertyName, value); try { return factory.create(); } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdInvoker.groovy
if (parameters.incrementalAnalysis.get()) { // TODO: Can we get rid of this now that we're running in a worker? SystemProperties.instance.withSystemProperty("java.class.path", pmdClasspath.files.join(File.pathSeparator), new Factory<Void>() { @Override Void create() { runPmd(ant, parameters) return null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:23:38 UTC 2023 - 7.7K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplierTest.groovy
expectedPaths } InstallationSupplier createSupplier(String propertyValue, String userhome) { SystemProperties.instance.withSystemProperty("user.home", userhome) { new MavenToolchainsInstallationSupplier(createProviderFactory(propertyValue), createFileResolver()) } } private FileResolver createFileResolver() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 16.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompiler.kt
private fun Disposable.kotlinCoreEnvironmentFor(configuration: CompilerConfiguration): KotlinCoreEnvironment { org.jetbrains.kotlin.cli.common.environment.setIdeaIoUseFallback() return SystemProperties.getInstance().withSystemProperty( KOTLIN_COMPILER_ENVIRONMENT_KEEPALIVE_PROPERTY.property, "true" ) { KotlinCoreEnvironment.createForProduction( this, configuration,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 31 08:46:17 UTC 2023 - 20.1K bytes - Viewed (0)