Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 893 for TASK (0.08 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

                    println "Configuring " + task.name
                    bar.get()
                }
    
                task some { dependsOn tasks.withType(SomeTask) }
            """
    
            expect:
            succeeds("some")
    
            and:
            executed ":foo", ":baz", ":fizz", ":fuzz", ":some"
        }
    
        def "can lookup task created by rules"() {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskOutputs.java

        private final TaskInternal task;
        private final TaskMutator taskMutator;
    
        public DefaultTaskOutputs(final TaskInternal task, TaskMutator taskMutator, PropertyWalker propertyWalker, TaskDependencyFactory taskDependencyFactory, FileCollectionFactory fileCollectionFactory) {
            this.task = task;
            this.taskMutator = taskMutator;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 04 09:46:14 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/execution/selection/DefaultBuildTaskSelectorTest.groovy

            selector.resolveTaskName(null, null, target, "task")
    
            then:
            1 * taskSelector.getSelection(_, root.defaultProject, "task", true)
        }
    
        def "selects matching task relative to root project when absolute path is provided"() {
            def project = addProject(root, "lib")
            withIncludedBuilds()
    
            when:
            selector.resolveTaskName(null, null, target, ":task")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

                    class CustomTaskAction implements Action<Task> {
                        static Action<Task> create() {
                            return new CustomTaskAction()
                        }
    
                        @Override
                        void execute(Task task) {
                        }
                    }
                '''
    
                task customTask(type: CustomTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy

            fails "block"
    
            and:
            def outputLines = result.groupedOutput.task(":block").output.readLines()
            outputLines[0] == "Requesting stop of task ':block' as it has exceeded its configured timeout of 500ms."
            outputLines[1] == "Timed out task ':block' has not yet stopped."
            outputLines[outputLines.size() - 1] == "Timed out task ':block' has stopped."
    
            and:
            def logging = taskLogging(":block")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

        }
    
        void taskIsNotCached(String task) {
            withBuildCache().run task
            executedAndNotSkipped(task)
            cleanBuildDir()
    
            withBuildCache().run task
            executedAndNotSkipped(task)
        }
    
        void taskIsCached(String task) {
            withBuildCache().run task
            executedAndNotSkipped(task)
            cleanBuildDir()
    
            withBuildCache().run task
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ConfigurationBuildDependenciesIntegrationTest.groovy

                    }
                }
                task direct { inputs.files configurations.compile }
                task fileCollection { inputs.files configurations.compile.fileCollection { true } }
                task ownDependencies { dependsOn configurations.compile.dependencies }
                task allDependencies { dependsOn configurations.compile.allDependencies }
                task incomingFiles { inputs.files configurations.compile.incoming.files }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeCodeGenTest.groovy

                import org.gradle.test.Task;
    
                @Generated
                public class Task_Adapter {
                    public static int access_get_getMaxErrors(Task self) {
                        ${getDefaultDeprecation("Task", "maxErrors")}
                        return self.getMaxErrors().getOrElse(0);
                    }
    
                    public static void access_set_setMaxErrors(Task self, int arg0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

        def "hash set output files marks task up-to-date"() {
            buildFile << """
                class MyTask extends DefaultTask {
                    @OutputFiles Set<File> out = new HashSet<File>()
    
                    @TaskAction def exec() {
                        out.each { it.text = 'data' }
                    }
                }
    
                task myTask(type: MyTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

                    outputs.file(outputFile)
                    doLast {
                        outputFile.text = "consumed"
                    }
                }
    
                task a
                task b
                task c
                task d
    
                consumer.dependsOn(d)
    
                d.dependsOn(c)
                ${dependency}
                b.dependsOn(a)
    
                a.dependsOn(producer)
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top