- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for FeatureFlags (0.27 sec)
-
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/FeatureFlags.java
import org.gradle.internal.service.scopes.ServiceScope; /** * A service that determines whether a feature flag is enabled or not. */ @ServiceScope(Scope.BuildTree.class) public interface FeatureFlags { boolean isEnabled(FeatureFlag flag); /** * Explicitly enable the given flag. The resulting flag status may still be overridden. */ void enable(FeatureFlag flag); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DeprecatedFeaturesListener.kt
* in that case). */ @ListenerService @ServiceScope(Scope.BuildTree::class) internal class DeprecatedFeaturesListener( private val featureFlags: FeatureFlags, private val buildModelParameters: BuildModelParameters ) : BuildScopeListenerRegistrationListener, TaskExecutionAccessListener, ExecutionAccessListener {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/DefaultSettingsCommonTest.groovy
ScriptHandlerFactory scriptHandlerFactory = Mock(ScriptHandlerFactory) ScriptHandler settingsScriptHandler = Mock(ScriptHandler) DefaultPluginManager pluginManager = Mock(DefaultPluginManager) FeatureFlags previews = Mock(FeatureFlags) DefaultSettings settings def createSettings(String path = '/somepath/root') { settingsDir = new File(path).absoluteFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 01 18:57:54 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultDependenciesAccessors.java
private final ClassPath classPath; private final DependenciesAccessorsWorkspaceProvider workspace; private final DefaultProjectDependencyFactory projectDependencyFactory; private final FeatureFlags featureFlags; private final ExecutionEngine engine; private final FileCollectionFactory fileCollectionFactory; private final InputFingerprinter inputFingerprinter;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 26.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFeatureFlagsIntegrationTest.groovy
* limitations under the License. */ package org.gradle.internal.cc.impl import org.gradle.api.internal.FeaturePreviews import org.gradle.internal.buildoption.FeatureFlags class ConfigurationCacheFeatureFlagsIntegrationTest extends AbstractConfigurationCacheIntegrationTest { def "toggling feature flag with system property invalidates 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-runtime/build-option/src/main/java/org/gradle/internal/buildoption/DefaultFeatureFlags.java
package org.gradle.internal.buildoption; import org.gradle.internal.event.ListenerManager; import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; public class DefaultFeatureFlags implements FeatureFlags { private final Set<FeatureFlag> enabled = new CopyOnWriteArraySet<FeatureFlag>(); private final InternalOptions options; private final FeatureFlagListener broadcaster;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt
val featureFlags = gradle.serviceOf<FeatureFlags>() val enabledFeatures = FeaturePreviews.Feature.values().filter { featureFlags.isEnabledWithApi(it) } writeCollection(enabledFeatures) } private suspend fun DefaultReadContext.readPreviewFlags(gradle: GradleInternal) { val featureFlags = gradle.serviceOf<FeatureFlags>() readCollection {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 34.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementBuildScopeServices.java
FeatureFlags featureFlags, FileCollectionFactory fileCollectionFactory, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser, InputFingerprinter inputFingerprinter ) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 28.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/BuildScopeServices.java
ServiceRegistry services, ListenerManager listenerManager, IsolatableFactory isolatableFactory, SharedResourceLeaseRegistry sharedResourceLeaseRegistry, FeatureFlags featureFlags ) { // TODO:configuration-cache remove this hack // HACK: force the instantiation of FlowScope so its listeners are registered before DefaultBuildServicesRegistry's
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:42 UTC 2024 - 35.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/DefaultSettings.java
import org.gradle.configuration.ScriptPluginFactory; import org.gradle.groovy.scripts.ScriptSource; import org.gradle.internal.Actions; import org.gradle.internal.buildoption.FeatureFlags; import org.gradle.internal.deprecation.DeprecationLogger; import org.gradle.internal.management.DependencyResolutionManagementInternal; import org.gradle.internal.management.ToolchainManagementInternal;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 18:31:24 UTC 2023 - 14.3K bytes - Viewed (0)