- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for forTask (0.15 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/ConfigurationOnDemandIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 12:57:53 UTC 2024 - 18.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy
TestOperationCollector collector = new TestOperationCollector() withConnection { connection -> def build = connection.newBuild() build.addProgressListener(collector) build.forTasks(":other-build:sub:test").run() } TestOperationDescriptor descriptor = collector.descriptors.find { it.name == "myTestMethod" } when: withConnection { connection ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 15.5K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 11:39:00 UTC 2024 - 19.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy
ByteArrayOutputStream err = new ByteArrayOutputStream(); connection.newBuild() .forTasks("help") .setStandardOutput(out) .setStandardError(err) .setJavaHome(javaHome) .run();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 12.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy
def error = new ByteArrayOutputStream() 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/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy
plugins { id("base") } def fooTask = tasks.register("foo", Zip) { throw new RuntimeException("Realized artifact task") } configurations { consumable("conf") { outgoing { artifact(fooTask) } attributes {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 30.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultBuildLauncherTest.groovy
OutputStream stdout = Stub() OutputStream stderr = Stub() when: launcher.standardOutput = stdout launcher.standardError = stderr launcher.forTasks(task1, task2) launcher.run(handler) then: 1 * asyncConnection.run(!null, !null) >> { args -> ConsumerAction<GradleProject> action = args[0] action.run(connection)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 11.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/ProjectConfigurationChildrenProgressCrossVersionSpec.groovy
def events = ProgressEvents.create() withConnection { ProjectConnection connection -> connection.newBuild() .setStandardOutput(System.out) .forTasks('runInProcess', 'runForked') .addProgressListener(events) .run() } then: events.assertIsABuild() and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Jan 14 00:59:27 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/ProjectConfigurationProgressEventCrossVersionSpec.groovy
withConnection { def launcher = newBuild() .forTasks(task) .addProgressListener(events, operationTypes) collectOutputs(launcher) config.execute(launcher) launcher.run() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 18.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/LongRunningOperation.java
* For example, the project directory or Gradle user home directory that are configured * in the {@link GradleConnector}. * Also, the task names configured by {@link BuildLauncher#forTasks(String...)} can be overridden * if you happen to specify other tasks via the build arguments. * <p> * See the example in the docs for {@link BuildLauncher} *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 14K bytes - Viewed (0)