- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for systemPropertyName (0.4 sec)
-
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/InternalFlag.java
public class InternalFlag implements InternalOption<Boolean> { private final String systemPropertyName; private final boolean defaultValue; public InternalFlag(String systemPropertyName) { this(systemPropertyName, false); } public InternalFlag(String systemPropertyName, boolean defaultValue) { this.systemPropertyName = systemPropertyName; this.defaultValue = defaultValue; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/StringInternalOption.java
private final String systemPropertyName; private final String defaultValue; public StringInternalOption(String systemPropertyName, String defaultValue) { this.systemPropertyName = systemPropertyName; this.defaultValue = defaultValue; } @Nullable @Override public String getSystemPropertyName() { return systemPropertyName; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 1.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/FeaturePreviews.java
} return activeFeatures; } private final boolean active; private final String systemPropertyName; Feature(boolean active, @Nullable String systemPropertyName) { this.active = active; this.systemPropertyName = systemPropertyName; } /** * Returns whether the feature is still relevant. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Sep 14 08:15:13 UTC 2022 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/DefaultFeatureFlagsTest.groovy
def "flag is disabled by default"() { def flag = Stub(FeatureFlag) flag.systemPropertyName >> null expect: !flags.isEnabled(flag) !flags.isEnabledWithApi(flag) } def "flag with associated system property is disabled by default"() { def flag = Stub(FeatureFlag) flag.systemPropertyName >> "prop" expect: !flags.isEnabled(flag)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/IntegerInternalOption.java
private final String systemPropertyName; private final int defaultValue; public IntegerInternalOption(String systemPropertyName, int defaultValue) { this.systemPropertyName = systemPropertyName; this.defaultValue = defaultValue; } @Nullable @Override public String getSystemPropertyName() { return systemPropertyName; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheStartParameter.kt
} private fun InternalOptions.getInternalFlag(systemPropertyName: String, defaultValue: Boolean = false): Boolean = getOption(InternalFlag(systemPropertyName, defaultValue)).get() private fun InternalOptions.getInternalString(systemPropertyName: String, defaultValue: String?) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFeatureFlagsIntegrationTest.groovy
configurationCacheRunLenient "check" then: configurationCache.assertStateStored() when: configurationCacheRunLenient "-D${FeaturePreviews.Feature.STABLE_CONFIGURATION_CACHE.systemPropertyName}=true", "check" then: configurationCache.assertStateStored() } def "feature flag state is restored when running from cache"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/WatchedDirectoriesFileSystemWatchingIntegrationTest.groovy
} executer.beforeExecute { inDirectory(consumer) } file("consumer/gradle.properties") << "systemProp.${VirtualFileSystemServices.MAX_HIERARCHIES_TO_WATCH_PROPERTY.systemPropertyName}=1" when: withWatchFs().run "assemble", "--info" then: executedAndNotSkipped(":includedBuild:jar") assertWatchedHierarchies([includedBuild])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt
if (projectDependencies.add(dependency)) { projectScopedWriter.write(dependency) } } } override fun flagRead(flag: FeatureFlag) { flag.systemPropertyName?.let { propertyName -> sink().systemPropertyRead(propertyName, System.getProperty(propertyName)) } } fun append(fingerprint: ProjectSpecificFingerprint) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 32.8K bytes - Viewed (0)