Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 893 for TASK (0.11 sec)

  1. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestExecutionBuildConfigurationAction.java

        private static void addEntryTasksTo(ExecutionPlan plan, Set<Task> allTasksToRun) {
            for (Task task : allTasksToRun) {
                plan.addEntryTask(task);
            }
        }
    
        private void configureTestTasks(Set<Task> tasks) {
            for (Task task : tasks) {
                if (task instanceof AbstractTestTask) {
                    configureTestTask((AbstractTestTask) task);
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy

        }
    }
    
    extensions.create('custom', SomeExtension)
    
    task useIntTypeDsl {
        def custom = project.custom
        doLast {
            custom.prop = 123
        }
    }
    
    task useIntTypeApi {
        def custom = project.custom
        doLast {
            custom.prop.set(123)
        }
    }
    
    task useFileTypeDsl {
        def custom = project.custom
        def layout = project.layout
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

            """
        }
    
        def "default cacheability is BUILD_CACHE_DISABLED"() {
            buildFile << """
                task cacheable(type: Cacheable) {}
                task notCacheableByDefault(type: NotCacheableByDefault) {}
                task unspecified(type: UnspecifiedCacheabilityTask) {}
                task noOutputs(type: NoOutputs) {}
            """
            when:
            run "cacheable"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/LocalTaskNode.java

        }
    
        private Set<Node> getShouldRunAfter(TaskDependencyResolver dependencyResolver) {
            return dependencyResolver.resolveDependenciesFor(task, task.getShouldRunAfter());
        }
    
        @Override
        public String toString() {
            return task.getIdentityPath().toString();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 16 23:29:30 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy

            withInstallations(jdkMetadata).fails(task)
            def events = toolchainEvents(task)
            then:
            failureDescriptionStartsWith("Execution failed for task '${task}'.")
            failureHasCause("There were failing tests.")
            assertToolchainUsages(events, jdkMetadata, "JavaLauncher")
        }
    
        def "emits toolchain usages when task fails for 'javadoc' task"() {
            def task = ":javadoc"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

            then:
            result.groupedOutput.task(":a:some").assertOutputContains("FIRST").assertOutputContains("LAST")
            result.groupedOutput.task(":a:other").assertOutputContains("OTHER")
    
            when:
            configurationCacheRun ":a:some", ":a:other"
    
            then:
            result.groupedOutput.task(":a:some").assertOutputContains("FIRST").assertOutputContains("LAST")
            result.groupedOutput.task(":a:other").assertOutputContains("OTHER")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. src/cmd/trace/tasks.go

    		tasks := t.summary.Tasks
    
    		// Summarize groups of tasks with the same name.
    		summary := make(map[string]taskStats)
    		for _, task := range tasks {
    			stats, ok := summary[task.Name]
    			if !ok {
    				stats.Type = task.Name
    			}
    			stats.add(task)
    			summary[task.Name] = stats
    		}
    
    		// Sort tasks by type.
    		userTasks := make([]taskStats, 0, len(summary))
    		for _, stats := range summary {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/execution/ExecuteActionsTaskExecuterTest.groovy

        def setup() {
            ProjectInternal project = Mock(ProjectInternal)
            task.getProject() >> project
            task.getState() >> state
            task.getOutputs() >> taskOutputs
            task.getPath() >> "task"
            taskOutputs.setPreviousOutputFiles(_ as FileCollection)
            project.getBuildScriptSource() >> scriptSource
            task.getStandardOutputCapture() >> standardOutputCapture
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy

        }
    
        def "cycle in nested input and task itself is detected"() {
            def task = project.tasks.create("myTask", TaskWithNestedObject)
            task.nested = new Tree(value: "root", left: task, right: new Tree(value: "right"))
    
            when:
            visitProperties(task)
    
            then:
            _ * visitor.visitNested() >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/AbstractTask.java

            }
    
            @Override
            public void execute(Task task) {
                if (application == null) {
                    doExecute(task);
                } else {
                    application.reapply(() -> doExecute(task));
                }
            }
    
            private void doExecute(Task task) {
                closure.setDelegate(task);
                closure.setResolveStrategy(Closure.DELEGATE_FIRST);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top