- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 164 for withArgument (0.35 sec)
-
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/r73/DeprecationsCrossVersionSpec.groovy
implementation rootProject } } """ when: withConnection { def builder = it.model(List) builder.withArguments("--parallel") collectOutputs(builder) return builder.get() } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 20:23:18 UTC 2024 - 2.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractAutoTestedSamplesTest.groovy
executer.noDeprecationChecks() } fileToTest.text = sample executer .withTasks('help') .withArguments("--stacktrace", "--init-script", settingsEvaluatedHook.absolutePath) beforeSample(file, tagSuffix) executer.run() fileToTest.delete() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.6K 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) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/RunnerFactory.groovy
if (AGP_VERSIONS.isAgpNightly(agpVersion)) { def init = AGP_VERSIONS.createAgpNightlyRepositoryInitScript() extraArgs += ["-I", init.canonicalPath] } return runner.withArguments([runner.arguments, extraArgs].flatten()) .ignoreDeprecationWarningsIf(AGP_VERSIONS.isOld(agpVersion), "Old AGP version") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/IncrementalJavaProjectBuildIntegrationTest.groovy
jar.assertHasNotChangedSince(snapshot); sleep 1000 // Some filesystems (ext3) have one-second granularity for lastModified, so bump the time to ensure we can detect a regenerated file executer.withArguments("--rerun-tasks").withTasks("jar").run(); jar.assertHasChangedSince(snapshot); snapshot = jar.snapshot(); executer.withTasks("jar").run(); jar.assertHasNotChangedSince(snapshot);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 2.5K 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) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidSantaTrackerSmokeTest.groovy
) SantaTrackerConfigurationCacheWorkaround.beforeBuild(checkoutDir, homeDir) // Use --continue so that a deterministic set of tasks runs when some tasks fail runner.withArguments(runner.arguments + "--continue") def result = runner.buildAndFail() then: if (GradleContextualExecuter.isConfigCache()) { result.assertConfigurationCacheStateStored()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy
} file('settings.gradle') << "include ${(1..projectCount).collect { "'${createProjectName(it)}'" }.join(',')}" when: // Build everything first mostRecentReleaseExecuter.withArguments(arguments) result = runWithMostRecentFinalRelease(JAR_TASK_NAME) then: javaProjects.each { javaProject -> javaProject.mainClassFile.assertIsFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 19.2K 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)