Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 222 for taskName (0.14 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/TaskNameResolver.java

            if (includeSubProjects) {
                Set<String> taskNames = new LinkedHashSet<>();
                collectTaskNames(project, taskNames);
                for (String taskName : taskNames) {
                    selected.put(taskName, new MultiProjectTaskSelectionResult(taskName, project, true));
                }
            } else {
                discoverTasks(project);
                for (String taskName : getTaskNames(project)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy

                'file14.txt')
    
            where:
            taskName << ['zip', 'tar']
            taskType = taskName.capitalize()
            fileExtension = taskName
        }
    
        def "#taskName uses only first duplicate"() {
            given:
            duplicateEntriesInArchive(taskName, taskType, fileExtension)
    
            buildFile << """
                ${taskName} {
                    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy

        def "file and directory permissions are preserved when using #taskName task"() {
            given:
            createDir('parent') {
                child {
                    mode = 0777
                    file('reference.txt').mode = 0746
                }
            }
            def archName = "test.${taskName.toLowerCase()}"
            and:
            buildFile << """
                task pack(type: $taskName) {
                    archiveFileName = "$archName"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 06:18:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/execution/taskpath/ResolvedTaskPath.java

    public class ResolvedTaskPath {
        private final String prefix;
        private final String taskName;
        private final ProjectInternal project;
        private final boolean isQualified;
    
        public ResolvedTaskPath(String prefix, String taskName, ProjectInternal project) {
            this.prefix = prefix;
            this.taskName = taskName;
            this.project = project;
            this.isQualified = prefix.length() > 0;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top