Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 308 for taskname (0.2 sec)

  1. platforms/documentation/docs/src/docs/userguide/running-builds/introduction/command_line_interface_basics.adoc

    Executing Gradle on the command line conforms to the following structure:
    
    ----
    gradle [taskName...] [--option-name...]
    ----
    
    Options are allowed _before_ and _after_ task names.
    
    ----
    gradle [--option-name...] [taskName...]
    ----
    
    If multiple tasks are specified, you should separate them with a space.
    
    ----
    gradle [taskName1 taskName2...] [--option-name...]
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/DefaultTaskSelector.java

            private final String taskName;
    
            public TaskPathSpec(ProjectInternal targetProject, String taskName) {
                this.targetProject = targetProject;
                this.taskName = taskName;
            }
    
            @Override
            public boolean isSatisfiedBy(Task element) {
                if (!element.getName().equals(taskName)) {
                    return true;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractTaskRelocationIntegrationTest.groovy

            when:
            succeeds taskName
            def originalResults = extractResults()
            then:
            executedAndNotSkipped taskName
    
            when:
            succeeds taskName
            then:
            skipped taskName
    
            when:
            moveFilesAround()
            succeeds taskName
            then:
            skipped(taskName)
    
            when:
            removeResults()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

        configureGradleTestEnvironment()
        addSetUpAndTearDownActions()
    }
    
    fun executerRequiresDistribution(taskName: String) =
        !taskName.startsWith("embedded") || taskName.contains("CrossVersion") // <- Tooling API [other-version]->[current]
    
    fun executerRequiresFullDistribution(taskName: String) =
        taskName.startsWith("noDaemon")
    
    fun DistributionTest.addSetUpAndTearDownActions() {
        cachesCleaner = cachesCleanerService
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 14:05:00 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/operations/logging/BuildOperationLogInfo.java

        private final File outputFile;
        private final int maximumFailures;
        private final String taskName;
    
        BuildOperationLogInfo(String taskName, File outputFile, int maximumFailures) {
            this.outputFile = outputFile;
            this.maximumFailures = maximumFailures;
            this.taskName = taskName;
        }
    
        public int getMaximumFailedOperationsShown() {
            return maximumFailures;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixture.java

        }
    
        public boolean hasTask(String taskName) {
            return tasks.containsKey(taskName);
        }
    
        public GroupedTaskOutputFixture task(String taskName) {
            boolean foundTask = hasTask(taskName);
    
            if (!foundTask) {
                throw new AssertionError(String.format("The grouped output for task '%s' could not be found.%nOutput:%n%s", taskName, originalOutput));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top