Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 825 for TASK (0.17 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/tutorial_using_tasks.adoc

    [source]
    ----
    $ ./gradlew :app:hello
    
    > Task :app:compileJava UP-TO-DATE
    > Task :app:processResources NO-SOURCE
    > Task :app:classes UP-TO-DATE
    > Task :app:jar UP-TO-DATE
    > Task :app:startScripts UP-TO-DATE
    > Task :app:distTar UP-TO-DATE
    > Task :app:distZip UP-TO-DATE
    > Task :app:assemble UP-TO-DATE
    
    > Task :app:hello
    Hello world!
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 00:09:06 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy

            }
    
            then: "task progress events must be forwarded to the attached listeners"
            !events.tasks.empty
            events.operations == events.tasks
        }
    
        def "receive current task progress event even if one of multiple task listeners throws an exception"() {
            given:
            goodCode()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

            """
        }
    
        def "default cacheability is BUILD_CACHE_DISABLED"() {
            buildFile << """
                task cacheable(type: Cacheable) {}
                task notCacheableByDefault(type: NotCacheableByDefault) {}
                task unspecified(type: UnspecifiedCacheabilityTask) {}
                task noOutputs(type: NoOutputs) {}
            """
            when:
            run "cacheable"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestExecutionBuildConfigurationAction.java

        private static void addEntryTasksTo(ExecutionPlan plan, Set<Task> allTasksToRun) {
            for (Task task : allTasksToRun) {
                plan.addEntryTask(task);
            }
        }
    
        private void configureTestTasks(Set<Task> tasks) {
            for (Task task : tasks) {
                if (task instanceof AbstractTestTask) {
                    configureTestTask((AbstractTestTask) task);
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

            tasks.withType(AsciidoctorTask.class).configureEach(task -> {
                if (task.getName().equals("asciidoctor")) {
                    // ignore this task
                    task.setEnabled(false);
                    return;
                }
    
                task.setExecutionMode(ExecutionMode.OUT_OF_PROCESS);
                task.outputOptions(options -> {
                    options.setSeparateOutputDirs(false);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy

        }
    }
    
    extensions.create('custom', SomeExtension)
    
    task useIntTypeDsl {
        def custom = project.custom
        doLast {
            custom.prop = 123
        }
    }
    
    task useIntTypeApi {
        def custom = project.custom
        doLast {
            custom.prop.set(123)
        }
    }
    
    task useFileTypeDsl {
        def custom = project.custom
        def layout = project.layout
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy

            withInstallations(jdkMetadata).fails(task)
            def events = toolchainEvents(task)
            then:
            failureDescriptionStartsWith("Execution failed for task '${task}'.")
            failureHasCause("There were failing tests.")
            assertToolchainUsages(events, jdkMetadata, "JavaLauncher")
        }
    
        def "emits toolchain usages when task fails for 'javadoc' task"() {
            def task = ":javadoc"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

            then:
            result.groupedOutput.task(":a:some").assertOutputContains("FIRST").assertOutputContains("LAST")
            result.groupedOutput.task(":a:other").assertOutputContains("OTHER")
    
            when:
            configurationCacheRun ":a:some", ":a:other"
    
            then:
            result.groupedOutput.task(":a:some").assertOutputContains("FIRST").assertOutputContains("LAST")
            result.groupedOutput.task(":a:other").assertOutputContains("OTHER")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. src/cmd/trace/tasks.go

    		tasks := t.summary.Tasks
    
    		// Summarize groups of tasks with the same name.
    		summary := make(map[string]taskStats)
    		for _, task := range tasks {
    			stats, ok := summary[task.Name]
    			if !ok {
    				stats.Type = task.Name
    			}
    			stats.add(task)
    			summary[task.Name] = stats
    		}
    
    		// Sort tasks by type.
    		userTasks := make([]taskStats, 0, len(summary))
    		for _, stats := range summary {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/AbstractTask.java

            }
    
            @Override
            public void execute(Task task) {
                if (application == null) {
                    doExecute(task);
                } else {
                    application.reapply(() -> doExecute(task));
                }
            }
    
            private void doExecute(Task task) {
                closure.setDelegate(task);
                closure.setResolveStrategy(Closure.DELEGATE_FIRST);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top