- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 73 for withArgument (0.49 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy
then: skipped(":someTask") // add property when: buildFile << """ someTask.inputs.property("b", 12) """ and: executer.withArgument("-i") run "someTask" then: executedAndNotSkipped(":someTask") outputContains("Input property 'b' has been added for task ':someTask'") when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 36.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
m2.assertNoLeftoverState() m2.isolateMavenLocalRepo(executer) executer.beforeExecute { withArgument("-Dorg.gradle.internal.repository.max.tentatives=$maxHttpRetries") if (maxUploadAttempts != null) { withArgument("-Dorg.gradle.internal.network.retry.max.attempts=$maxUploadAttempts") } } } def cleanup() {
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/soak/src/integTest/groovy/org/gradle/resolve/DependencyResolutionStressTest.groovy
requireDaemon().requireIsolatedDaemons(). withGradleUserHomeDir(workspace.file("user-home")) 8.times { executer.inDirectory(buildDir).withArgument("--refresh-dependencies").withTasks('check').run() } } } concurrent.finished() } static class StressHttpServer extends ExternalResource {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy
barrier.expectConcurrent("child-build-finished", "1-finished", "2-finished") } when: runs.times { executer.withArgument("--parallel") run 'otherBuild' } then: noExceptionThrown() and: def runNestedBuildOps = buildOperations.all(RunNestedBuildBuildOperationType)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 10.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy
and: executer.beforeExecute { if (!GradleContextualExecuter.embedded) { executer.withArgument("-D$REUSE_USER_HOME_SERVICES=true") } } executer.withTasks('help').start().waitForFinish() then: resource.assertDoesNotExist()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 12:06:23 UTC 2024 - 16.7K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy
username = "correct-username" password = "correct-password" } } """ when: executer.withArgument("--info") withBuildCache().run "assemble" then: outputDoesNotContain("correct-username") outputDoesNotContain("correct-password") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:20 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpIntegTest.groovy
given: buildFile << publicationBuildWithoutCredentials(version, group, mavenRemoteRepo.uri) if (!extraChecksums) { executer.withArgument("-Dorg.gradle.internal.publish.checksums.insecure=true") module.withoutExtraChecksums() } expectModulePublish(module, extraChecksums) when: succeeds 'publish'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 19.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy
// In a nutshell, this tests that we don't even try to load classes that are there, but that we shouldn't see. when: executer .withArgument("-Porg.gradle.java.installations.paths=${AvailableJavaHomes.getAvailableJvms().collect { it.javaHome.absolutePath }.join(",")}") .withToolchainDetectionEnabled() buildFile << """ plugins {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 19.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java
*/ GradleExecuter withArguments(String... args); /** * Sets the additional command-line arguments to use when executing the build. Defaults to an empty list. */ GradleExecuter withArguments(List<String> args); /** * Adds an additional command-line argument to use when executing the build. */ GradleExecuter withArgument(String arg); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 20.3K bytes - Viewed (0)