Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 168 for task2_name (0.48 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecDebugIntegrationTest.groovy

        }
    
        def "debug is disabled by default with task :#taskName"() {
            setup:
            sampleProject """
                debugOptions {
                }
            """
    
            expect:
            succeeds(taskName)
    
            where:
            taskName << ['runJavaExec', 'runExecOperationsJavaExec', 'test']
        }
    
        def "debug session fails without debugger with task :#taskName"() {
            setup:
            sampleProject """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/plugins/LifecycleBasePluginIntegrationTest.groovy

            """
        }
    
        def "fails when applied in build with #taskName"() {
            buildFile << """
    
            task $taskName {
                doLast {
                    println "custom $taskName task"
                }
            }
            """
    
            when:
            fails(taskName)
    
            then:
            failure.assertHasCause("Cannot add task '$taskName' as a task with that name already exists.")
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedTaskOutputFixture.java

        private final String taskName;
    
        private String taskOutcome;
    
        public GroupedTaskOutputFixture(String taskName) {
            this.taskName = taskName;
        }
    
        public void setOutcome(String taskOutcome) {
            if (this.taskOutcome != null) {
                throw new AssertionError(taskName + " task's outcome is set twice!");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/TasksFromDependentProjects.java

        private final String taskName;
        private final String configurationName;
        private final TaskDependencyContainerInternal taskDependencyDelegate;
    
        public TasksFromDependentProjects(String taskName, String configurationName, TaskDependencyFactory taskDependencyFactory) {
            this(taskName, configurationName, new TaskDependencyChecker(), taskDependencyFactory);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tasks/addRules/groovy/build.gradle

    // tag::all[]
    // tag::task-rule[]
    tasks.addRule("Pattern: ping<ID>") { String taskName ->
    
        if (taskName.startsWith("ping")) {
            task(taskName) {
                doLast {
                    println "Pinging: " + (taskName - 'ping')
                }
            }
        }
    }
    // end::task-rule[]
    
    tasks.register('groupPing') {
        dependsOn 'pingServer1', 'pingServer2'
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 376 bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractProjectRelocationIntegrationTest.groovy

            withBuildCache().run taskName
            def originalResults = extractResultsFrom(originalDir)
            then: "it is executed and cached"
            executedAndNotSkipped taskName
    
            when: "task is re-executed without the cache"
            inDirectory(originalDir)
            run taskName, '-i'
            then: "it is UP-TO-DATE"
            result.assertTaskSkipped taskName
    
            when: "it is executed in the new location"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ForkCapableRelocationIntegrationTest.groovy

            when:
            inDirectory(originalDir)
            withBuildCache().run taskName
    
            then:
            executedAndNotSkipped taskName
    
            and:
            outputContains('JavaAgent configured!')
    
            when:
            inDirectory(originalDir)
            withBuildCache().run taskName
    
            then:
            skipped taskName
    
            when:
            inDirectory(relocatedDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractIdeLifecycleIntegrationTest.groovy

                getGenerationTaskNames(projectPath).each { taskName ->
                    result.assertTaskOrder(getCleanTaskName(taskName), taskName)
                }
            }
        }
    
        def assertGenerationTasksRunBeforeCleanTasks() {
            [":", ":foo", ":foo:bar"].each { projectPath ->
                getGenerationTaskNames(projectPath).each { taskName ->
                    result.assertTaskOrder(taskName, getCleanTaskName(taskName))
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/BaseSelectionException.java

    abstract class BaseSelectionException extends InvalidUserDataException implements FailureResolutionAware {
        private final String taskName;
        private final String targetName;
    
        public BaseSelectionException(String message, String taskName, String targetName) {
            super(message);
            this.taskName = taskName;
            this.targetName = targetName;
        }
    
        @Override
        public void appendResolutions(Context context) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 19 11:25:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/TaskSelection.java

    public class TaskSelection {
        private final String projectPath;
        private final String taskName;
        private final TaskSelectionResult taskSelectionResult;
    
        public TaskSelection(String projectPath, String taskName, TaskSelectionResult tasks) {
            this.projectPath = projectPath;
            this.taskName = taskName;
            this.taskSelectionResult = tasks;
        }
    
        public String getProjectPath() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 09 09:06:37 UTC 2020
    - 1.4K bytes
    - Viewed (0)
Back to top