Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cleanBuildDir (0.57 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

            executedAndNotSkipped ":customTask"
    
            when:
            cleanBuildDir()
            withBuildCache().run "customTask"
            then:
            skipped ":customTask"
    
    
            when:
            buildFile << """
                customTask.outputs.cacheIf { false }
            """
    
            withBuildCache().run "customTask"
            cleanBuildDir()
    
            withBuildCache().run "customTask"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

            // Only the first task can be cached since the second detects the overlap
            assertTaskOutputCached(first)
            assertTaskOutputNotCached(second)
    
            when:
            cleanBuildDir()
            withBuildCache().run(first, second)
            then:
            // Output should match the first execution
            firstOutput.assertExists()
            secondOutput.assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top