- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for withBuildCacheEnabled (0.32 sec)
-
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionErrorHandlingIntegrationTest.groovy
shouldFail = System.getProperty("failOn") push = true } } """ executer.beforeExecute { executer.withBuildCacheEnabled() } } def "remote cache #failEvent error stack trace is printed when requested (#showStacktrace)"() { // Need to do it like this because stacktraces are always enabled for integration tests
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:22 UTC 2024 - 6.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy
def buildOperations = new BuildOperationsFixture(executer, temporaryFolder) def cacheOperations = new BuildCacheOperationFixtures(buildOperations) def setup() { executer.beforeExecute { withBuildCacheEnabled() } settingsFile << localCache.localCacheConfiguration() } @ToBeFixedForConfigurationCache(skip = INVESTIGATE) def "fails build when packing archive fails"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/BuildCacheBuildOperationsIntegrationTest.groovy
void remote(String loadBody, String storeBody) { register(remoteCacheClass, loadBody, storeBody) } def setup() { executer.beforeExecute { it.withBuildCacheEnabled() } } void register(String className, String loadBody, String storeBody) { settingsFile << """ class ${className} extends AbstractBuildCache {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:14 UTC 2024 - 14.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy
def setup() { expectReindentedValidationMessage() enableProblemsApiCheck() } def "task output caching key is exposed when build cache is enabled"() { given: executer.withBuildCacheEnabled() when: buildFile << customTaskCode('foo', 'bar') succeeds('customTask') then: def result = operations.first(SnapshotTaskInputsBuildOperationType).result
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 23.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java
*/ GradleExecuter withBuildJvmOpts(Iterable<String> jvmOpts); /** * Activates the build cache * * @return this executer */ GradleExecuter withBuildCacheEnabled(); /** * Don't set native services dir explicitly. */ GradleExecuter withNoExplicitNativeServicesDir(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 20.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
if (currentDirectory == null) { break } } } AbstractIntegrationSpec withBuildCache() { executer.withBuildCacheEnabled() this } /** * Synonym for succeeds() */ protected ExecutionResult run(String... tasks) { succeeds(*tasks) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java
public GradleExecuter withBuildJvmOpts(Iterable<String> jvmOpts) { CollectionUtils.addAll(buildJvmOpts, jvmOpts); return this; } @Override public GradleExecuter withBuildCacheEnabled() { return withArgument("--build-cache"); } protected Action<ExecutionResult> getResultAssertion() { return new ResultAssertion(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 55.1K bytes - Viewed (0)