Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 4,140 for action1 (0.12 sec)

  1. subprojects/core/src/main/java/org/gradle/configuration/project/DelayedConfigurationActions.java

    import org.gradle.api.Action;
    import org.gradle.api.internal.project.ProjectInternal;
    
    public class DelayedConfigurationActions implements ProjectConfigureAction {
        @Override
        public void execute(ProjectInternal projectInternal) {
            ProjectConfigurationActionContainer actions = projectInternal.getConfigurationActions();
            try {
                for (Action<? super ProjectInternal> action : actions.getActions()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/dataflow_actions.adoc

    ----
    ====
    <1> Use service injection to obtain `FlowScope` and `FlowProviders` instances. They are available for project and settings plugins.
    <2> Use an appropriate scope to run your actions. As the name suggests, actions in the `always` scope are executed every time the build runs.
    <3> Specify the class that implements the action.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:10 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/tools/DefaultCommandLineToolConfiguration.java

        }
    
        public ToolType getToolType() {
            return toolType;
        }
    
        @Override
        public void withArguments(Action<? super List<String>>  action) {
            argActions.add(action);
        }
    
        @Override
        public Action<List<String>> getArgAction() {
            return Actions.composite(argActions);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r42/BuildProgressTaskActionsCrossVersionSpec.groovy

        ProgressEvents events
    
        def setup() {
            events = ProgressEvents.create()
            settingsFile << "rootProject.name = 'root'"
        }
    
        //This is not a task action, but it is logged on the same level as the actions
        def "clean stale output action has an informative name"() {
            given:
            buildFile << """
                apply plugin: 'base'
    
                task custom {
                    outputs.dir 'build/outputs'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/DefaultCommandLineActionFactory.java

                        actions.add(action);
                        if (!(action instanceof ContinuingAction)) {
                            break;
                        }
                    }
                }
    
                if (!actions.isEmpty()) {
                    return Actions.composite(actions);
                }
    
                throw new UnsupportedOperationException("No action factory for specified command-line arguments.");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy

            linker.execute(spec)
    
            then:
            1 * operationLogger.getLogLocation() >> LOG_LOCATION
            1 * buildOperationExecutor.runAll(commandLineTool, _) >> { worker, action -> action.execute(queue) }
            1 * invocationContext.getArgAction() >> Actions.doNothing()
            1 * invocationContext.createInvocation("linking lib", outputFile.parentFile, expectedArgs, operationLogger) >> invocation
            1 * queue.add(invocation)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCapabilitiesResolution.java

        }
    
        @Override
        public void all(Action<? super CapabilityResolutionDetails> action) {
            actions.add(new CapabilityAction(Specs.SATISFIES_ALL, action));
        }
    
        @Override
        public void withCapability(Capability capability, Action<? super CapabilityResolutionDetails> action) {
            withCapability(Providers.of(capability), action);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. plugin/pkg/admission/namespace/exists/admission_test.go

    	if err == nil {
    		actions := ""
    		for _, action := range mockClient.Actions() {
    			actions = actions + action.GetVerb() + ":" + action.GetResource().Resource + ":" + action.GetSubresource() + ", "
    		}
    		t.Errorf("expected error returned from admission handler: %v", actions)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/invocation/GradleLifecycle.java

        /**
         * Adds an {@link IsolatedAction isolated action} to be called immediately after a project is evaluated.
         *
         * @param action The action to execute.
         * @see IsolatedAction for the requirements to isolated actions
         * @since 8.8
         */
        @Incubating
        void afterProject(IsolatedAction<? super Project> action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 21:28:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutionsSpec.groovy

            def copy = substitutions.copy()
    
            when:
            copy.all(Mock(Action))
    
            then:
            0 * validator.validateMutation(_)
        }
    
        def "registering an all rule toggles the hasRule flag"() {
            given:
            def action = Mock(Action)
    
            when:
            substitutions.all(action)
    
            then:
            substitutions.rulesMayAddProjectDependency()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top