- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for withBuildCacheEnabled (0.33 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/caching/configuration/internal/BuildCacheConfigurationIntegrationTest.groovy
local { directory = '$cacheDir' } } """ buildFile << customTaskCode() expect: executer.withBuildCacheEnabled() succeeds("customTask") !localBuildCache.empty } def "can enable with settings.gradle"() { settingsFile << """ gradle.startParameter.buildCacheEnabled = true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 19 20:09:35 UTC 2022 - 9.6K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheConfigurationBuildOperationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 6K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/FinalizeBuildCacheConfigurationBuildOperationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileLineEndingSensitivityIntegrationTest.groovy
writeJavaSourceWithUnixLineEndings() when: executer.withBuildCacheEnabled() succeeds compileTask then: executedAndNotSkipped compileTask when: writeJavaSourceWithWindowsLineEndings() succeeds "clean" and: executer.withBuildCacheEnabled() succeeds compileTask then: fromCache compileTask }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedImplementationIntegrationTest.groovy
apply plugin: InMemoryBuildCachePlugin """ when: executer.withBuildCacheEnabled() succeeds "compileJava", "--info" then: executed ":compileJava" expect: succeeds "clean" when: executer.withBuildCacheEnabled() succeeds "compileJava" then: skipped ":compileJava" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 20 12:09:58 UTC 2022 - 6.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/caching/configuration/internal/BuildCacheCompositeConfigurationIntegrationTest.groovy
def enablingCode = by == EnabledBy.PROGRAMMATIC ? """\ngradle.startParameter.buildCacheEnabled = true\n""" : "" if (by == EnabledBy.INVOCATION_SWITCH) { executer.beforeExecute { withBuildCacheEnabled() } } def mainCache = new TestBuildCache(file("main-cache")) def buildSrcCache = new TestBuildCache(file("buildSrc-cache"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 8.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskOutputIntegrationTest.groovy
def localCache = new TestBuildCache(file("local-cache")) def cacheOperations = new BuildCacheOperationFixtures(executer, temporaryFolder) def setup() { executer.beforeExecute { withBuildCacheEnabled() } settingsFile << localCache.localCacheConfiguration() } def "cached origin metadata is correct"() { file("input.txt") << "data" buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 20 17:51:57 UTC 2024 - 2.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/outputorigin/BuildCacheOutputOriginIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 24 14:10:19 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/BuildCacheLocalCacheIntegrationTest.groovy
""" settingsFile << localCache.localCacheConfiguration() << remoteCache.remoteCacheConfiguration() executer.beforeExecute { it.withBuildCacheEnabled() } } def "remote loads are cached locally"() { given: settingsFile << """ buildCache { local.push = false } """ when: succeeds("t")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:15:24 UTC 2024 - 3.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy
""" } private void startBuild(String task, boolean buildCacheEnabled) { executer.withArgument('--debug').withTasks(task) if (buildCacheEnabled) { executer.withBuildCacheEnabled() } client = new DaemonClientFixture(executer.start()) waitForDaemonLog(START_UP_MESSAGE) daemons.daemon.assertBusy() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 04:31:03 UTC 2024 - 7.3K bytes - Viewed (0)