Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 189 for TASK (0.04 sec)

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

                withProblem("Build file 'build.gradle': line 9: invocation of 'Task.project' at execution time is unsupported.")
                withProblem("Task `:declared` of type `Broken`: cannot deserialize object of type 'org.gradle.api.artifacts.ConfigurationContainer' as these are not supported with the configuration cache.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

            buildFile << """
                task dependencyTask {
                }
    
                task test {
                    inputs.$method(dependencyTask).withPropertyName('input')
                    doFirst {
                        // Need a task action to not skip this task
                    }
                }
            """
    
            expect:
            fails "test"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocIntegrationTest.groovy

            expect:
            succeeds("javadoc")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/4841")
        def "adding custom javadoc options makes task out-of-date"() {
            given: "a javadoc task without custom options"
            buildFile << """
                task javadoc(type: Javadoc) {
                    destinationDir = file("build/javadoc")
                    source "src/main/java"
                    options {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                assert ext.p1 == 2
    
                task run {
                    doLast { task ->
                        assert !task.hasProperty("p1")
    
                        ext {
                            set "p1", 1
                        }
                        assert p1 == 1
                        assert task.hasProperty("p1")
                        assert task.property("p1") == 1
    
                        p1 = 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. src/cmd/trace/gen.go

    	// Collect information about the task.
    	var startStack, endStack trace.Stack
    	var startG, endG trace.GoID
    	startTime, endTime := ctx.startTime, ctx.endTime
    	if task.Start != nil {
    		startStack = task.Start.Stack()
    		startG = task.Start.Goroutine()
    		startTime = task.Start.Time()
    	}
    	if task.End != nil {
    		endStack = task.End.Stack()
    		endG = task.End.Goroutine()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy

                            project.getTasks().register("ok", task -> {
                                task.doLast(t -> {
                                    System.out.println(task.getName() + " action value is " + value);
                                });
                                task.onlyIf(t -> {
                                    System.out.println(task.getName() + " spec value is " + value);
                                    return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

            settingsFile << "rootProject.name = 'parent'"
            buildFile << """
                task b1(type:GradleBuild) {
                    tasks = ["t"]
                    buildName = 'bp'
                }
                task b2(type:GradleBuild) {
                    tasks = ["t"]
                    buildName = 'bp'
                }
                task t
            """
    
            when:
            fails 'b1', 'b2'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

        }
    
        def "task depends on other task whose outputs are its inputs"() {
            buildFile << """
                task a {
                    outputs.file 'a.txt'
                    def outputFile = file('a.txt')
                    doLast {
                        outputFile << "Data"
                    }
                }
    
                task b {
                    inputs.files tasks.a.outputs.files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. src/internal/trace/summary_test.go

    				{Task: 12, Category: "log2", Message: "do"},
    				{Task: 12, Category: "log", Message: "fanout region4"},
    				{Task: 12, Category: "log", Message: "fanout region0"},
    				{Task: 12, Category: "log", Message: "fanout region1"},
    				{Task: 12, Category: "log", Message: "fanout region2"},
    				{Task: 12, Category: "log", Message: "before do"},
    				{Task: 12, Category: "log", Message: "fanout region3"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/ConfigurationOnDemandIntegrationTest.groovy

        def "does not configure all projects when excluded task path is not qualified and is exact match for task in default project"() {
            createDirs("a", "a/child", "b", "b/child", "c")
            settingsFile << "include 'a', 'a:child', 'b', 'b:child', 'c'"
            file('a').mkdirs()
            file('b').mkdirs()
            buildFile << """
    allprojects {
        task one
        task two
        task three
    }
    """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top