- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 105 for forTask (0.14 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r31/BuildActionCrossVersionSpec.groovy
when: GradleTask task = withConnection { c -> c.action(new FetchTaskAction()).run() } task = withConnection { c -> c.action(new ReturnValueAction(task)).run() } withConnection { c -> c.newBuild().forTasks(task).run() } then: noExceptionThrown() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/toolingApi/runBuild/kotlin/src/main/java/org/gradle/sample/Main.java
ProjectConnection connection = connector.connect(); try { // Configure the build BuildLauncher launcher = connection.newBuild(); launcher.forTasks("help"); launcher.setStandardOutput(System.out); launcher.setStandardError(System.err); // Run the build launcher.run(); } finally { // Clean up
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/toolingApi/runBuild/groovy/src/main/java/org/gradle/sample/Main.java
ProjectConnection connection = connector.connect(); try { // Configure the build BuildLauncher launcher = connection.newBuild(); launcher.forTasks("help"); launcher.setStandardOutput(System.out); launcher.setStandardError(System.err); // Run the build launcher.run(); } finally { // Clean up
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r72/JavaVersionCrossVersionTest.groovy
when: toolingApi.withConnection { ProjectConnection connection -> connection.newBuild().forTasks('myTask').run() } then: GradleConnectionException e = thrown() def rootCause = Exceptions.getRootCause(e) rootCause instanceof RuntimeException
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r21/CancellationCrossVersionSpec.groovy
def resultHandler = new TestResultHandler() when: cancel.cancel() withConnection { ProjectConnection connection -> def build = connection.newBuild() build.forTasks('hang') build.withCancellationToken(cancel.token()) build.run(resultHandler) resultHandler.finished() } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemProgressEventCrossVersionTest.groovy
""" } def runTask() { def listener = new ProblemProgressListener() withConnection { connection -> connection.newBuild().forTasks('reportProblem') .addProgressListener(listener) .run() } return listener.problems.collect { it.descriptor } } @TargetGradleVersion("=8.3")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 11:36:58 UTC 2024 - 7.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/index.md
# Segurança Há várias formas de lidar segurança, autenticação e autorização. E isso normalmente é um tópico “difícil” e complexo. Em muitos frameworks e sistemas, apenas lidar com segurança e autenticação exige muito esforço e código (em muitos casos isso pode ser 50% ou mais de todo o código escrito).
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Jun 24 14:47:15 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/StandardStreamsCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultModelBuilder.java
return model; } }, new ResultHandlerAdapter<T>(handler)); } @Override public DefaultModelBuilder<T> forTasks(String... tasks) { // only set a non-null task list on the operationParamsBuilder if at least one task has been given to this method,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m3/ToolingApiLoggingCrossVersionSpec.groovy
def output = new TestOutputStream() withConnection { ProjectConnection connection -> def build = connection.newBuild() build.standardOutput = output build.forTasks("log") build.run(resultHandler) sync.waitForAllPendingCalls(resultHandler) ConcurrentTestUtil.poll { // Need to poll, as logging output is delivered asynchronously to client
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.4K bytes - Viewed (0)