Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,258 for task3 (0.05 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/UnionFileCollectionTest.groovy

            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def source1 = Stub(FileCollectionInternal)
            def source2 = Stub(FileCollectionInternal)
    
            given:
            source1.visitDependencies(_) >> { TaskDependencyResolveContext context ->
                context.add(task1)
                context.add(task2)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultPublishArtifactSetTest.groovy

        def "set is built by the union of the tasks that build the publish artifacts"() {
            PublishArtifact artifact1 = Mock()
            PublishArtifact artifact2 = Mock()
            Task task1 = Mock()
            Task task2 = Mock()
            Task task3 = Mock()
    
            given:
            store.add(artifact1)
            store.add(artifact2)
            builtBy(artifact1, task1, task2)
            builtBy(artifact2, task1, task3)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultCompositeFileTreeTest.groovy

            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def tree1 = Stub(FileTreeInternal)
            def tree2 = Stub(FileTreeInternal)
    
            given:
            tree1.visitDependencies(_) >> { TaskDependencyResolveContext context ->
                context.add(task1)
                context.add(task2)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tutorial/dynamicDepends/kotlin/build.gradle.kts

    repeat(4) { counter ->
        tasks.register("task$counter") {
            doLast {
                println("I'm task number $counter")
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 196 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tutorial/dynamicDepends/groovy/build.gradle

    4.times { counter ->
        tasks.register("task$counter") {
            doLast {
                println "I'm task number $counter"
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 193 bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/AbstractWorkerExecutorIntegrationTest.groovy

        }
    
        void assertSameDaemonWasUsed(String task1, String task2) {
            fixture.list.each {
                assert outputFileDir.file(task1).file(it).text == outputFileDir.file(task2).file(it).text
            }
        }
    
        void assertDifferentDaemonsWereUsed(String task1, String task2) {
            fixture.list.each {
                assert outputFileDir.file(task1).file(it).text != outputFileDir.file(task2).file(it).text
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/tasks/shouldRunAfterWithCycle/groovy/build.gradle

    def taskX = tasks.register('taskX') {
        doLast {
            println 'taskX'
        }
    }
    def taskY = tasks.register('taskY') {
        doLast {
            println 'taskY'
        }
    }
    def taskZ = tasks.register('taskZ') {
        doLast {
            println 'taskZ'
        }
    }
    taskX.configure { dependsOn(taskY) }
    taskY.configure { dependsOn(taskZ) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 365 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/tasks/shouldRunAfterWithCycle/kotlin/build.gradle.kts

    val taskX by tasks.registering {
        doLast {
            println("taskX")
        }
    }
    val taskY by tasks.registering {
        doLast {
            println("taskY")
        }
    }
    val taskZ by tasks.registering {
        doLast {
            println("taskZ")
        }
    }
    taskX { dependsOn(taskY) }
    taskY { dependsOn(taskZ) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 323 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr2_build_lifecycle.adoc

    tasks.register("task1"){
        println("REGISTER TASK1: This is executed during the configuration phase")
    }
    
    tasks.register("task2"){
        println("REGISTER TASK2: This is executed during the configuration phase")
    }
    
    tasks.named("task1"){
        println("NAMED TASK1: This is executed during the configuration phase")
        doFirst {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 05:44:04 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tasks/finalizersWithFailure/groovy/build.gradle

    def taskX = tasks.register('taskX') {
        doLast {
            println 'taskX'
            throw new RuntimeException()
        }
    }
    def taskY = tasks.register('taskY') {
        doLast {
            println 'taskY'
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 242 bytes
    - Viewed (0)
Back to top