Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 893 for TASK (0.13 sec)

  1. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

            then:
            output.contains """Detailed task information for hello
    
    Paths
         :hello
         :someproj1:hello
         :someproj2:hello
    
    Type
         Task (org.gradle.api.Task)
    
    Options
    ${builtInOptions}
    
    Description
         -
    
    Groups
         (:hello) group of root task
         (:someproj1:hello) group of subproject task
         (:someproj2:hello) group of subproject task
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyLifecycleIntegrationTest.groovy

            outputContains("set failed: The value for task ':producer' property 'output' is final and cannot be changed any further.")
            output.count("prop = " + file("build/text.out")) == 1
        }
    
        @ToBeFixedForConfigurationCache(because = "https://github.com/gradle/gradle/issues/25513")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskCreationIntegrationTest.groovy

                            description = 'task b'
                        }
                        c(Task) {
                            description = 'task c'
                        }
                    }
                }
            """
    
            when:
            succeeds "tasks", "--all"
    
            then:
            output.contains "a - task a"
            output.contains "b - task b"
            output.contains "c - task c"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 18 22:50:47 UTC 2020
    - 16.9K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/ProducerTaskCommandLineOrderIntegrationTest.groovy

            def cleanFooLocal = foo.task('cleanFooLocalState').destroys('build/foo-local')
            def generateFoo = foo.task('generateFoo').outputs('build/foo').localState('build/foo-local')
            def generateBar = bar.task('generateBar').outputs('build/bar').dependsOn(generateFoo)
            def generate = rootBuild.task('generate').dependsOn(generateBar).dependsOn(generateFoo)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/main/java/org/gradle/api/plugins/HelpTasksPlugin.java

                task.setDescription("Displays the outgoing variants of " + projectName + ".");
                task.setGroup(HELP_GROUP);
                task.setImpliesSubProjects(true);
                task.getShowAll().convention(false);
            });
            tasks.register(RESOLVABLE_CONFIGURATIONS_TASK, ResolvableConfigurationsReportTask.class, task -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 30 16:15:23 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskContainer.java

         */
        @Nullable
        Task findByPath(String path);
    
        /**
         * <p>Locates a task by path. You can supply a task name, a relative path, or an absolute path. Relative paths are
         * interpreted relative to the project for this container. This method throws an exception if no task with the given
         * path exists.</p>
         *
         * @param path the path of the task to be returned
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 27 15:00:20 UTC 2022
    - 17.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

        def "circular dependency detected with complex finalizedBy cycle in the graph"() {
            buildFile """
                task a
                task b
                task c
                task d
                task e
                task f
    
                a.dependsOn b
                b.dependsOn c
                b.finalizedBy d
                d.dependsOn f
                e.dependsOn d
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/TaskContainerDslIntegrationTest.kt

            testTaskContainerVia(
                "api",
                script = """
    
                val t1: Task = tasks.getByName("foo")
                val t2: Task = tasks.getByName("foo", Task::class)
                val t3: Task = tasks.getByName<Task>("foo")
    
                val t4: Task = tasks.getByName("bar") {
                    description += "A"
                }
                val t5: Copy = tasks.getByName("bar", Copy::class) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 15K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":secondTest")
            events.tests.size() == (supportsEfficientClassFiltering() ? 8 : 12)
    
            assertTestNotExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
            assertTestNotExecuted(className: "example.MyTest", methodName: "foo2", task: ":test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

                import org.gradle.api.DefaultTask;
                import org.gradle.api.Task;
    
                public class BrokenTask extends DefaultTask {
                    public BrokenTask() {
                        doFirst(new Action<Task>() {
                            public void execute(Task task) {
                                throw new RuntimeException("broken action");
                            }
                        });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top