- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 92 for withArgument (0.24 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy
runner.withJvmArguments("-javaagent:${agentJar}") if (!GradleContextualExecuter.embedded) { runner.withGradleInstallation(buildContext.gradleHomeDir) } runner.withArguments("--configuration-cache") runner.forwardOutput() runner.withProjectDir(testDirectory) runner.withPluginClasspath([new File("some-dir")]) def result = runner.buildAndFail()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/AbstractDaemonLifecycleSpec.groovy
void startBuild(String javaHome = null, String buildEncoding = null) { run { executer.withTasks("watch") executer.withDaemonIdleTimeoutSecs(daemonIdleTimeout) executer.withArguments( "-Dorg.gradle.daemon.healthcheckinterval=${periodicCheckInterval * 1000}", "--debug" // Need debug logging so we can extract the `DefaultDaemonContext` ) if (javaHome) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:32:55 UTC 2024 - 7.1K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerConsoleInputEndUserIntegrationTest.groovy
void close() { } } when: def result = GradleRunner.create() .withProjectDir(testProjectDir) .withArguments('$DUMMY_TASK_NAME') .withDebug($debug) .withStandardInput(stdin) .forwardStdOutput(stdout) .build() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ArgumentPassingCrossVersionTest.groovy
when: String output1 = runBuild { launcher -> launcher.withArguments("-P$ARG_1").addArguments("-P$ARG_2") } then: output1.toString().contains(ARG_1) output1.toString().contains(ARG_2) when: String output2 = runBuild { launcher -> launcher.withArguments("-P$ARG_1").addArguments(["-P$ARG_2" as String]) } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy
(TaskSuccessResult)events.operations[0].result } private void runCacheableBuild(listener) { withConnection { ProjectConnection connection -> connection.newBuild().withArguments("--build-cache").forTasks('cacheable').addProgressListener(listener, EnumSet.of(OperationType.TASK)).run() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpsIntegrationTest.groovy
// We need to set the SSL properties as arguments here even for non-embedded test mode // because we want them to be set on the wrapper client JVM, not the daemon one wrapperExecuter.withArguments(keyStore.getTrustStoreArguments()) server.configure(keyStore) server.withBasicAuthentication(DEFAULT_USER, DEFAULT_PASSWORD) server.start() file("build.gradle") << """ task hello {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiBackedGradleExecuter.groovy
def args = allArgs args.remove("--no-daemon") usingToolingConnection(workingDir) { connection -> connection.newBuild() .withArguments(args) .addJvmArguments(jvmArgs) .setStandardOutput(new TeeOutputStream(output, System.out)) .setStandardError(new TeeOutputStream(error, System.err)) .run()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSkipCacheIntegrationTest.groovy
then: outputContains("foo") configurationCache.assertStateLoaded() when: def commandLineArgs = commandLine.split("\\s+") executer.withArguments(commandLineArgs) configurationCacheRun "myTask" then: outputContains("bar")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy
when: def events = ProgressEvents.create() withConnection { ProjectConnection connection -> connection.newBuild().withArguments("-Dorg.gradle.parallel.intra=true", '--parallel', '--max-workers=2').forTasks('parallelTasks').addProgressListener(events).run() } then: events.tasks.size() == 3
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperProjectIntegrationTest.groovy
@Issue("https://issues.gradle.org/browse/GRADLE-1871") void "can specify project properties containing D"() { given: prepareWrapper() when: def result = wrapperExecuter.withArguments("-PfooD=bar").withTasks('echoProperty').run() then: assertThat(result.output, containsString("fooD=bar")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 2.8K bytes - Viewed (0)