Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for TaskB (0.09 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/TaskDisplayNameCrossVersionSpec.groovy

            taskA.displayName == /task ':a'/
            taskA.description == null
            taskA.project == project
    
            def taskB = project.tasks.find { it.name == 'b' }
            taskB != null
            taskB.path == ':b'
            taskB.displayName == /task ':b'/
            taskB.description == 'this is task b'
            taskB.project == project
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy

                        static void foo(TaskA taskA) { }
                        static void foo(TaskB taskB) { }
    
                        @Override
                        public void apply(Project project) {
                            Action<? super TaskA> actionA = LambdaPlugin::foo;
                            Action<? super TaskB> actionB = LambdaPlugin::foo;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskActionIntegrationTest.groovy

                    doFirst action
                }
    
                task taskB {
                    def output = file("build/task-b/output.txt")
                    inputs.file input
                    outputs.file output
                    outputs.cacheIf { true }
                    doFirst action
                }
            """
    
            when:
            withBuildCache().run "taskA", "taskB"
            then:
            executedAndNotSkipped(":taskA")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventLegacyCrossVersionTest.groovy

                rootProject.name = 'root'
                include 'a'
            """
            file("a/build.gradle") << """
                task taskA {}
                task taskB {
                    dependsOn 'taskA'
                }
                task taskC {
                    dependsOn 'taskB'
                }
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventCrossVersionTest.groovy

                include 'a', 'b', 'c'
            """
            file("a/build.gradle") << """
                tasks.register("taskA")
                tasks.register("taskB") {
                    dependsOn 'taskA'
                }
                tasks.register("taskC") {
                    dependsOn 'taskB'
                }
                tasks.register("taskD")
            """
            file("b/build.gradle") << """
                tasks.register("taskA")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 10:41:50 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDependencyInferenceIntegrationTest.groovy

                def taskA = tasks.create("a", FileProducer) {
                    output = file("a.txt")
                }
                def taskB = tasks.create("b", FileProducer) {
                    output = file("b.txt")
                }
                tasks.register("c") {
                    dependsOn taskA.output.orElse(taskB.output)
                }
            """
    
            when:
            run("c")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:20:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/controlling_task_execution.adoc

    on the tasks' actions and configuration. For example, if `taskB` uses the output of `taskA` (e.g., a file generated by `taskA`), Gradle will automatically ensure that `taskA` is executed before `taskB` to fulfill this dependency.
    
    Explicit dependencies :: These dependencies are explicitly declared in the build script using the `dependsOn`, `mustRunAfter`, or `shouldRunAfter` methods. For example, if you want to ensure that `taskB` always runs after `taskA`, you can explicitly declare this...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

                }
    
                task a(type: TaskA) {
                    outputFile = file("output.txt")
                }
    
                task b(type: TaskB) {
                    inputFiles = tasks.a.outputs.files
                }
    
                task b2(type: TaskB) {
                    inputFiles = tasks.b.inputs.files
                }
            """
    
            when:
            succeeds "b", "b2"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            def taskA = Mock(Task)
            def taskB = Mock(Task)
    
            when:
            collection.from(fileCollectionMock)
            collection.from("f")
            collection.builtBy("b")
            def dependencies = collection.buildDependencies.getDependencies(null)
    
            then:
            dependencies.toList() == [taskA, taskB]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top