- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 34 for withArgument (0.47 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiPhasedBuildActionIntegrationTest.groovy
buildFile << """ plugins.apply(my.MyPlugin) """ file("a/build.gradle") << """ plugins.apply(my.MyPlugin) """ when: executer.withArguments(ENABLE_CLI) def models = runPhasedBuildAction(new FetchPartialCustomModelForEachProject(), new FetchCustomModelForEachProject()) then: def messages = models.left messages.size() == 2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy
given: server.expect("configure-root") server.expectConcurrent("model-root", "configure-a", "configure-b") server.expectConcurrent("model-a", "model-b") when: executer.withArguments(ENABLE_CLI) def model = runBuildAction(new FetchCustomModelForEachProjectInParallel()) then: model.size() == 3 model[0].message == "It works from project :"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy
def args = executer.allArgs args.remove("--no-daemon") model = connection.model(type) .forTasks(tasks) .withArguments(args) .setStandardOutput(new TeeOutputStream(output, System.out)) .setStandardError(new TeeOutputStream(error, System.err)) .get()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 15.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy
javaProject(file("a")) javaProject(file("b"), """ dependencies { implementation(project(':a')) } """) when: executer.withArguments(ENABLE_CLI) runBuildAction(new FetchCustomModelForEachProjectInParallel()) then: fixture.assertStateStored { projectsConfigured(":buildSrc", ":", ":a", ":b")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/crossVersionTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCrossVersionTest.groovy
} void runPrevious() { previousExecuter.withArguments(argFor(previous.version), 'help').run() } void runCurrent() { currentExecuter.withArguments(argFor(current.version), 'help').run() } private static String argFor(GradleVersion version) { version.baseVersion < GradleVersion.version("6.6")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.8K bytes - Viewed (0) -
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-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/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsTestKitInjectedJavaPluginIntegrationTest.groovy
} runner.withTestKitDir(testKitDir) runner.withProjectDir(workingDir) def args = allArgs args.remove("--no-daemon") runner.withArguments(args) runner.withPluginClasspath(pluginClasspath) runner.withEnvironment(environmentVars) runner.forwardOutput() runner } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerMiscEndUserIntegrationTest.groovy
} ''' when: def result = GradleRunner.create() .withProjectDir(testProjectDir) .withArguments('helloWorld') .withDebug($debug) .build() then: noExceptionThrown() } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 6.8K bytes - Viewed (0)