- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 144 for forTask (0.42 sec)
-
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultBuildActionExecuterTest.groovy
ResultHandlerVersion1<GradleProject> adaptedHandler ResultHandler<GradleProject> handler = Mock() GradleProject result = Mock() when: executer.forTasks('a', 'b').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 - 6.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiIntegrationTest.groovy
when: toolingApi.withConnector { connector -> connector.useBuildDistribution() } toolingApi.withConnection { connection -> connection.newBuild().forTasks('check').run() } then: notThrown(Throwable) } def "tooling api searches up from the project directory to find the wrapper properties"() { settingsFile << "include 'child'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r15/ToolingApiConfigurationOnDemandCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/SingleProjectTaskReportModel.java
import java.util.Collection; import java.util.Comparator; import java.util.Set; public class SingleProjectTaskReportModel implements TaskReportModel { public static SingleProjectTaskReportModel forTasks(Collection<? extends Task> tasks, TaskDetailsFactory factory) { final SetMultimap<String, TaskDetails> groups = TreeMultimap.create(String::compareToIgnoreCase, Comparator.comparing(TaskDetails::getPath));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:52:06 UTC 2021 - 2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r23/ModelBuilderCrossVersionSpec.groovy
task alpha() { doLast { throw new RuntimeException() } } """ when: BuildEnvironment model = toolingApi.withConnection { it.model(BuildEnvironment) .forTasks(new String[0]) .get() } then: model != null result.assertTasksExecutedInOrder() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ProblemProgressEventCrossVersionTest.groovy
buildFile getProblemReportTaskString(taskActionMethodBody) } def runTask() { def listener = new ProblemProgressListener() withConnection { connection -> connection.newBuild().forTasks('reportProblem') .addProgressListener(listener) .run() } return listener.problems } def "Failing executions produce problems"() { setup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DependencyArtifactDownloadProgressEventCrossVersionTest.groovy
when: def events = ProgressEvents.create() withConnection { ProjectConnection connection -> def build = connection.newBuild() collectOutputs(build) build.forTasks("resolve") build.addProgressListener(events, OperationType.FILE_DOWNLOAD) .run() } then: thrown(BuildException) events.operations.size() >= 4
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r82/TestLauncherTaskExecutionCrossVersionSpec.groovy
System.out.println 'foo' } } """ when: withConnection { TestLauncher testLauncher = newTestLauncher() testLauncher.forTasks(':foo').run() } then: result.assertTaskExecuted(':foo') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/testFixtures/groovy/org/gradle/kotlin/dsl/tooling/fixtures/KotlinScriptModelParameters.groovy
} else { modelBuilder.setJvmArguments([KotlinDslModelsParameters.STRICT_CLASSPATH_MODE_SYSTEM_PROPERTY_DECLARATION]) } if (explicitlyRequestPreparationTasks) { modelBuilder.forTasks(KotlinDslModelsParameters.PREPARATION_TASK_NAME) } def correlationId = newCorrelationId() def arguments =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 21 09:28:30 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildModelBuilderCrossVersionSpec.groovy
toolingApi.withConnection { ProjectConnection connection -> ModelBuilder<GradleProject> modelBuilder = connection.model(GradleProject.class) collectOutputs(modelBuilder) modelBuilder.forTasks([':other-build:sub:doSomething']) modelBuilder.get() } then: stdout.toString().contains("do something") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 1.9K bytes - Viewed (0)