Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NotCacheableByDefault (0.19 sec)

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

        }
    
        def "cacheability for a non-cacheable task is NOT_ENABLED_FOR_TASK"() {
            buildFile << """
                task notCacheableByDefault(type: NotCacheableByDefault) {}
            """
            when:
            withBuildCache().run "notCacheableByDefault"
            then:
            assertCachingDisabledFor NOT_ENABLED_FOR_TASK, "Caching has been disabled for the task"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top