Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 189 for TASK (0.03 sec)

  1. src/internal/trace/testtrace/validation.go

    		}
    		// N.B. Don't check the task type. Empty string is a valid task type.
    		v.tasks[t.ID] = t.Type
    	case trace.EventTaskEnd:
    		// Validate task end.
    		// We can see a task end without a begin, so ignore a task without information.
    		// Instead, if we've seen the task begin, just make sure the task end lines up.
    		t := ev.Task()
    		if typ, ok := v.tasks[t.ID]; ok {
    			if t.Type != typ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

                ${repositoriesBlockFor(repos)}
    
                dependencies {
                    implementation 'thing:lib:1.+'
                }
    
                task resolve1(type: ShowFilesTask) {
                    inFiles.from(configurations.implementation)
                }
                task resolve2(type: ShowFilesTask) {
                    inFiles.from(configurations.implementation)
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

        def "broken symlink not produced by task is ignored"() {
            given:
            def input = file("input.txt").createFile()
            def outputDirectory = file("output")
    
            def brokenLink = outputDirectory.file('link').createLink("broken")
            assert !brokenLink.exists()
    
            buildFile << """
                task copy(type: Copy) {
                    from '${input.name}'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/MissingTaskDependencyDetector.java

                ));
        }
    
        private static boolean isEnabled(Node node) {
            if (node instanceof LocalTaskNode) {
                TaskInternal task = ((LocalTaskNode) node).getTask();
                return task.getOnlyIf().isSatisfiedBy(task);
            }
            return false;
        }
    
        // In a perfect world, the consumer should depend on the producer.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DependencyArtifactDownloadProgressEventCrossVersionTest.groovy

                    .run()
            }
    
            then:
            events.operations.size() == 10
            events.trees.size() == 2
            events.operation("Task :a:compileJava")
            def task = events.operation("Task :resolve")
            task.child("Download ${modules.projectB.pom.uri}").assertIsDownload(modules.projectB.pom)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTaskIntegrationTest.groovy

    import static org.gradle.internal.cc.impl.fixtures.ExternalProcessFixture.stringArrayExecute
    
    class ProcessInTaskIntegrationTest extends AbstractProcessIntegrationTest {
        def "using #snippetsFactory.summary in task configuration is a problem"() {
            given:
            def snippets = snippetsFactory.newSnippets(execOperationsFixture)
            testDirectory.file("buildSrc/src/main/java/SneakyTask.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    For example, you may want to set the input source files of a task based on the source directories property of an extension, but the extension property value isn't known until the build script or some other plugin configures them.
    2. *Automatic Task Dependency Management:* Connects output of one task to input of another, automatically determining task dependencies.
    Property instances carry information about which task, if any, produces their value.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/PhasedBuildActionCrossVersionSpec.groovy

            description                 | action
            "empty array of task names" | { BuildActionExecuter b -> b.forTasks() }
            "empty list of task names"  | { BuildActionExecuter b -> b.forTasks([]) }
        }
    
        def "#description means run default tasks when they are defined"() {
            file('build.gradle') << """
                defaultTasks = ["thing"]
    
                task thing { }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

        }
    
        @Issue("https://github.com/gradle/gradle/issues/13333")
        def "absent #operator orElse #orElseKind used as task input"() {
    
            assumeFalse(
                'task dependency inference for orElse(taskOutput) not implemented yet!',
                orElseKind == 'task output'
            )
    
            given:
            def configurationCache = newConfigurationCacheFixture()
            buildKotlinFile """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

                throw problemsService.getInternalReporter().throwing(spec -> {
                    spec.id("missing-task-name", "Missing task name", GradleCoreProblemGroup.taskSelection());
                    String message = String.format("Cannot locate %s that match '%s'. The path should include a task name (for example %s).", type, name, examplePaths());
                    configureProblem(spec, message, name, new TaskSelectionException(message));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top