Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,734 for taskY (0.54 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildIncludeCycleIntegrationTest.groovy

                    dependsOn('task3')
                }
                tasks.register('task3') {
                    dependsOn gradle.includedBuild('theNameOfBuildA').task(':task4')
                }
            """
    
            when:
            execute(buildA, 'task1')
    
            then:
            result.assertTasksExecuted(':task4', ':buildB:task3', ':buildB:task2', ':task1')
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 19 21:32:57 UTC 2022
    - 7.6K 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. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy

            given:
            def task1 = Stub(Task)
            def task2 = Stub(Task)
            set.srcDir dir("dir1", task1)
            set.srcDir dir("dir2", task2)
    
            expect:
            dependencies(set) == [task1, task2] as Set
            dependencies(set.sourceDirectories) == [task1, task2] as Set
            dependencies(set.asFileTree) == [task1, task2] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 14.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/Task.java

    import javax.annotation.Nullable;
    
    /**
     * Represents a task which is executable by Gradle.
     *
     * <p>Note: {@code Task} extends {@code Launchable} since 1.12.</p>
     *
     * @since 1.0-milestone-3
     */
    public interface Task extends Launchable {
        /**
         * Returns the path of this task. This is a fully qualified unique name for this task.
         *
         * @return The path of this task.
         * @since 1.0-milestone-3
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

                            println "Task '\$name' file '\${file.name}' with '\${file.text}'"
                        }
                    }
                }
    
                task a(type: TaskA) {
                    outputFile = file("output.txt")
                }
    
                task b(type: TaskB) {
                    inputFiles = tasks.a.outputs.files
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/main/java/org/gradle/platform/base/BinaryTasks.java

     *
     *     {@literal @}BinaryTasks
     *     void createBinaryTasks(ModelMap&lt;Task&gt; tasks, SampleBinary binary) {
     *         tasks.create("${binary.name}Task1", MyCustomBinaryCreationTask)
     *         tasks.create("${binary.name}Task2") {
     *             dependsOn "${binary.name}Task1"
     *         }
     *     }
     * }
     * </pre>
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.groovy

            task1.assertOutputContains("files = [test2-2.3.jar.txt, test-two-1.3.jar.txt]")
    
            def task2 = result.groupedOutput.task(":resolve2")
            task2.assertOutputContains("variants = [{artifactType=size, org.gradle.status=integration}, {artifactType=size, org.gradle.status=integration}]")
            task2.assertOutputContains("components = [test:test3:3.4, test:test:1.3]")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 100.8K bytes
    - Viewed (0)
  10. 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)
Back to top