Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 189 for TASK (0.04 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

            where:
            type                             | tasksInput             | expectedOutput
            "Task"                           | "copy1.get()"          | "[copy1]"
            "TaskProvider"                   | "copy1"                | "[copy1]"
            "Array[Task, TaskProvider]"      | "copy1.get(), copy2"   | "[copy1, copy2]"
            "Collection(Task, TaskProvider)" | "[copy1.get(), copy2]" | "[copy1, copy2]"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache.adoc

    Wrongly declared task inputs can lead to cache misses especially when containing volatile data or absolute paths.
    (See <<incremental_build.adoc#sec:task_inputs_outputs,the section called "Task inputs and outputs">> on what should be declared as inputs and outputs.)
    
    NOTE: The task path is _not_ an input to the build cache key.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 11:30:10 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

        private Object[] useOverlappingOutputFiles() {
            buildFile << """
                task first(type: OutputFileTask)
                task second(type: OutputFileTask) {
                    // second's message needs to be different so we don't detect the file has unchanged
                    message = "Generated by task " + path
                }
                task cleanSecond(type: Delete) {
                    delete second
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  4. src/internal/trace/summary.go

    			// N.B. No need to add the region to a task; the EventRegionBegin already handled it.
    		} else {
    			// This is an "end" without a start. Just fabricate the region now.
    			sd = &UserRegionSummary{Name: r.Type, TaskID: r.Task}
    			// Associate the region and current goroutine to the task.
    			task := s.getOrAddTask(r.Task)
    			task.Goroutines[g.ID] = g
    			task.Regions = append(task.Regions, sd)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/JavaGradlePluginPlugin.java

                task.setGroup(PLUGIN_DEVELOPMENT_GROUP);
                task.setDescription(GENERATE_PLUGIN_DESCRIPTORS_TASK_DESCRIPTION);
                task.getDeclarations().set(extension.getPlugins());
                task.getOutputDirectory().set(project.getLayout().getBuildDirectory().dir(task.getName()));
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:56:29 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGradlePropertiesIntegrationTest.groovy

            System.clearProperty(systemProp)
            configurationCacheRun fixture.task
    
            System.clearProperty(systemProp)
            configurationCacheRun fixture.task
    
            then:
            configurationCache.assertStateLoaded()
    
            when:
            System.clearProperty(systemProp)
            configurationCacheRun fixture.task, "-D$systemProp=overridden value"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy

                    // logging done from task-a logger during task-b execution will result in logging linked to task-b
                    def allLoggingProgress = allExecutionOpTaskProgresses.find { it.detailsType == LogEvent && it.details.message == "log all task via :project-${projectCount}:myTask$taskCount logger" }
                    assert allLoggingProgress.details.logLevel == 'LIFECYCLE'
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            run("merge")
    
            then:
            output.count("calculating value") == 2 // once for task dependency calculation, once for task execution
        }
    
        def "task @InputFiles file collection provider is called once only when task executes"() {
            taskTypeWithInputFileCollection()
            buildFile """
                task merge(type: InputFilesTask) {
                    outFile = file("out.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

                ${mavenCentralRepository()}
    
                task other
                task broken(type: SomeTask)
            """
    
            when:
            configurationCacheRunLenient "broken"
    
            then:
            problems.assertResultHasProblems(result) {
                withTotalProblemsCount(6)
                withUniqueProblems(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

        }
    
        def "task output caching key is exposed by default"() {
            when:
            buildFile << customTaskCode('foo', 'bar')
            succeeds('customTask')
    
            then:
            operations.hasOperation(SnapshotTaskInputsBuildOperationType)
        }
    
        def "handles task with no outputs"() {
            when:
            buildScript """
                task noOutputs {
                    doLast {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top