- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for withBuildCache (0.42 sec)
-
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/CachedKotlinTaskExecutionIntegrationTest.groovy
} """ when: withBuildCache().run "customTask" then: result.assertTaskNotSkipped(":customTask") when: file("buildSrc/build").deleteDir() file("buildSrc/.gradle").deleteDir() cleanBuildDir() withBuildCache().run "customTask" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 4.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/caching/internal/packaging/BuildCacheEntryPackingIntegrationTest.groovy
} } """ when: withBuildCache().run("createFile", "-Dfile.encoding=$fileEncoding") then: output.contains("> Default charset: $fileEncoding") executedAndNotSkipped(":createFile") when: assert outputFile.delete() withBuildCache().run("createFile", "-Dfile.encoding=$fileEncoding") skipped(":createFile")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 4.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskActionIntegrationTest.groovy
outputs.cacheIf { true } doFirst { file("second.txt").text = "Hello from the second task" } } """ when: withBuildCache().run "first", "second" then: executedAndNotSkipped(":first", ":second") file("first.txt").text == "Hello from the first task" file("second.txt").text == "Hello from the second task" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-execution/build-cache-spi/src/integTest/groovy/org/gradle/caching/BuildCacheServiceExtensibilityIntegrationTest.groovy
buildFile << """ apply plugin: "java" """ file("src/main/java/Main.java") << """ public class Main {} """ when: withBuildCache().run "assemble" then: outputContains "Loading " outputContains "Storing " } def "produces deprecation message when BuildCacheKey.getDisplayName() is called"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:09:36 UTC 2024 - 3.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) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractProjectRelocationIntegrationTest.groovy
executer.requireDaemon().requireIsolatedDaemons() when: "task is built in the original location" inDirectory(originalDir) executer.withJavaHome(originalJavaHome) withBuildCache().run taskName def originalResults = extractResultsFrom(originalDir) then: "it is executed and cached" executedAndNotSkipped taskName when: "task is re-executed without the cache"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/NestedInputKotlinImplementationTrackingIntegrationTest.groovy
} when: executer.inDirectory(project1) withBuildCache().run 'myTask' then: executedAndNotSkipped(':myTask') project1.file('build/tmp/myTask/output.txt').text == "hello" when: executer.inDirectory(project2) withBuildCache().run 'myTask' then: skipped(':myTask')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 06:52:58 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/scaladoc/ScalaDocIntegrationTest.groovy
def "scaladoc is loaded from cache"() { classes.baseline() buildScript(classes.buildScript()) when: withBuildCache().run scaladoc then: executedAndNotSkipped scaladoc when: succeeds "clean" withBuildCache().run scaladoc then: skipped scaladoc } def "scaladoc uses maxMemory"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheCleanupIntegrationTest.groovy
} @Override boolean existsBuildCacheEntry(String key) { cacheDir.file(key).exists() } @Override AbstractIntegrationSpec withEnabledBuildCache() { withBuildCache() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:15:24 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesByGradleFileWatchingIntegrationTest.groovy
when: withWatchFs().withBuildCache().run("localStateTask", "outputFileTask") then: executedAndNotSkipped(":localStateTask", ":outputFileTask") localStateOutputFile.exists() when: localStateOutputFile.delete() waitForChangesToBePickedUp() withWatchFs().withBuildCache().run("localStateTask", "outputFileTask") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 8.4K bytes - Viewed (0)