- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 168 for withArgument (0.18 sec)
-
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/ParallelProjectExecutionIntegrationTest.groovy
} } } } } """ executer.withArgument('--parallel') executer.withArgument('--max-workers=3') // needs to be set to the maximum number of expectConcurrentExecution() calls executer.withArgument('--info') } def "executes dependency project targets concurrently"() { projectDependency from: 'a', to: ['b', 'c', 'd']
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 4.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy
executer.beforeExecute { def initScript = file("init.gradle") initScript.text = buildLogicForMinimumBuildTime(minimumBuildTimeMillis) withArgument("-I").withArgument(initScript.absolutePath) } } protected int getMinimumBuildTimeMillis() { 2000 } protected void withoutContinuousBuild() { withoutContinuousArg = true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/OfflineSourceDependencyIntegrationTest.groovy
repo.expectCloneSomething() succeeds('resolve') when: executer.withArgument('--offline') succeeds('resolve') then: noExceptionThrown() } def "fails when previous checkout is not available"() { when: executer.withArgument('--offline') fails('resolve') then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 3K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/MultiProjectDependencyIntegrationTest.groovy
allprojects { apply plugin: 'java-library' task copyLibs(type: Copy) { from configurations.runtimeClasspath into 'deps' } compileJava.dependsOn copyLibs } """ executer.withArgument('--info') } def "project dependency c->[a,b]"() { projectDependency from: 'c', to: ['a', 'b'] when: run ':c:build' then: jarsBuilt 'a', 'b', 'c'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheRemoteBuildScriptIntegrationTest.groovy
print 'update remote script' """ and: executer.withArgument("--offline") configurationCacheRun 'ok' then: configurationCache.assertStateStored() and: outputDoesNotContain 'update remote script' when: executer.withArgument("--offline") configurationCacheRun 'ok' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/UnsafeConfigurationResolutionDeprecationIntegrationTest.groovy
bar } dependencies { bar "test:test-jar:1.0" } } """ executer.withArgument("--parallel") expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 20:27:07 UTC 2024 - 13.4K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/crossVersionTest/groovy/org/gradle/integtests/wrapper/WrapperOldJavaCrossVersionIntegrationTest.groovy
when: GradleExecuter executor = prepareWrapperExecuter(previous, current).withJavaHome(jdk.javaHome) then: def result = executor.usingExecutable('gradlew').withArgument('help').runWithFailure() result.hasErrorOutput("Gradle ${GradleVersion.current().version} requires Java 1.8 or later to run. You are currently using Java ${jdk.javaVersion}.") where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationDefaultsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 18:18:46 UTC 2024 - 10.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuterTest.groovy
when: executer.withArgument("--foreground") def allArgs = executer.getAllArgs() then: !allArgs.contains("--daemon") !allArgs.contains("--no-daemon") } def "when argument is added explicitly, no --daemon argument is added and requireDaemon gets overridden"() { when: executer.withArgument(argument) executer.requireDaemon()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/keystore/TestKeyStore.groovy
args.each { executer.withArgument(it) } } else { executer.withBuildJvmOpts(args) } } void configureServerAndClientCerts(GradleExecuter executer) { def args = getServerAndClientCertArgs() if (GradleContextualExecuter.embedded) { args.each { executer.withArgument(it) } } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.4K bytes - Viewed (0)