- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for withBuildCache (1.36 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 16.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy
void taskIsNotCached(String task) { withBuildCache().run task executedAndNotSkipped(task) cleanBuildDir() withBuildCache().run task executedAndNotSkipped(task) } void taskIsCached(String task) { withBuildCache().run task executedAndNotSkipped(task) cleanBuildDir() withBuildCache().run task skipped(task) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 30.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:59:01 UTC 2024 - 17.6K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy
application { mainClass = "Hello" } """ withBuildCache().run "run" withBuildCache().run "clean" expect: withBuildCache().run "run" } def "tasks get cached when source code changes back to previous state"() { expect: withBuildCache().run "jar" assertTaskNotSkipped ":compileJava" assertTaskNotSkipped ":jar" when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:20 UTC 2024 - 15.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy
when: withBuildCache().run(first, second) then: firstOutput.assertExists() secondOutput.assertExists() // Only the first task can be cached since the second detects the overlap assertTaskOutputCached(first) assertTaskOutputNotCached(second) when: cleanBuildDir() withBuildCache().run(first, second) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 20:54:14 UTC 2024 - 30K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/LambdaInputsIntegrationTest.groovy
""" buildFile.makeOlder() when: withBuildCache().run 'myTask' then: executedAndNotSkipped(':myTask') when: withBuildCache().run 'myTask', '-Panonymous' then: executedAndNotSkipped(':myTask') when: withBuildCache().run 'myTask', '-Panonymous' then: skipped(':myTask')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 09:08:49 UTC 2023 - 18.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformExecutionBuildOperationIntegrationTest.groovy
attributes.attribute(color, 'blue') } } } } """ when: withBuildCache().run ":consumer:resolve" then: executedAndNotSkipped(":consumer:resolve") result.groupedOutput.transform("MakeGreen") .assertOutputContains("processing [producer.jar]")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 16:27:38 UTC 2024 - 38.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy
additionalData.asMap == [ 'typeName' : 'CustomTask', ] } } def "exposes file inputs, ignoring empty directories"() { given: withBuildCache() settingsFile << "include 'a', 'b'" createDir("a") { file("build.gradle") << "plugins { id 'java' }" dir("src/main/java") { file("A.java") << "class A {}"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 23.5K bytes - Viewed (0) -
platforms/jvm/war/src/integTest/groovy/org/gradle/api/tasks/bundling/WarTaskIntegrationTest.groovy
destinationDirectory = buildDir archiveFileName = 'test.war' outputs.cacheIf { true } } """ when: withBuildCache().run "clean", "war" then: executedAndNotSkipped ':war' and: def war = new JarTestFixture(file('build/test.war')) war.assertContainsFile('META-INF/MANIFEST.MF')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 13:20:44 UTC 2024 - 10.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy
} } """ } when: withBuildCache().succeeds project.customTask then: executedAndNotSkipped(project.customTask) when: run "clean" executer.withJavaHome(differentJdk.javaHome) withBuildCache().succeeds project.customTask then: skipped(project.customTask) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 37.2K bytes - Viewed (0)