Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for taskIsNotCached (0.2 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocCachingIntegrationTest.groovy

                 */
                public class Foo {
                }
            """
        }
    
        def 'javadoc can be cached'() {
            when:
            withBuildCache().run "javadoc"
    
            then:
            taskIsNotCached()
    
            when:
            withBuildCache().succeeds 'clean', "javadoc"
    
            then:
            taskIsCached()
        }
    
        def "javadoc is cached if the build executed from a different directory"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

        }
    
        def "ad hoc tasks are not cacheable by default"() {
            given:
            file("input.txt") << "data"
            buildFile << adHocTaskWithInputs()
    
            expect:
            taskIsNotCached ':adHocTask'
        }
    
        def "ad hoc tasks are cached when explicitly requested"() {
            given:
            file("input.txt") << "data"
            buildFile << adHocTaskWithInputs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top