- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 144 for forTask (0.25 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/RunTasksBeforeRunActionCrossVersion.groovy
withConnection { it.action(new SimpleAction()) .forTasks([]) .run() } then: assertHasBuildSuccessfulLogging() result.assertTasksExecuted(":thing") } @TargetGradleVersion(">=3.0 <3.5") def "BuildExecuter.forTasks() should fail when it is not supported by target"() { when: withConnection {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/PhasedBuildActionCrossVersionSpec.groovy
result.assertTasksExecuted(":help") where: description | action "empty array of task names" | { BuildActionExecuter b -> b.forTasks() } "empty list of task names" | { BuildActionExecuter b -> b.forTasks([]) } } def "#description means run default tasks when they are defined"() { file('build.gradle') << """ defaultTasks = ["thing"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 17.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultBuildLauncher.java
} @Override public BuildLauncher forTasks(String... tasks) { operationParamsBuilder.setTasks(Arrays.asList(tasks)); return this; } @Override public BuildLauncher forTasks(Task... tasks) { forTasks(Arrays.asList(tasks)); return this; } @Override public BuildLauncher forTasks(Iterable<? extends Task> tasks) { forLaunchables(tasks);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy
ProjectConnection connection2 = connector.connect() def build = connection1.newBuild() build.forTasks('hang') build.run(resultHandler) def build2 = connection2.newBuild() build2.forTasks('hang') build2.run(resultHandler) sync.waitForAllPendingCalls(resultHandler) then: assertNumberOfRunningDaemons(2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r12rc1/BuildModelCrossVersionSpec.groovy
where: description | action "no task names specified" | { ModelBuilder b -> } "empty array of task names" | { ModelBuilder b -> b.forTasks() } "empty list of task names" | { ModelBuilder b -> b.forTasks([]) } } def "#description means do not run any tasks even when build logic injects tasks to execute"() { file('build.gradle') << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy
def events = ProgressEvents.create() withConnection { ProjectConnection connection -> connection.model(BuildInvocations).forTasks('assemble').addProgressListener(events, EnumSet.of(OperationType.TASK)).get() } then: "task progress events must be forwarded to the attached listeners" !events.tasks.empty
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/ResolveArtifactsProgressCrossVersionSpec.groovy
buildFile << buildFileContent('') expectDownload() when: def events = ProgressEvents.create() withConnection { ProjectConnection connection -> connection.newBuild().forTasks('resolve').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 - 11.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventCrossVersionTest.groovy
setupProject() when: def events = ProgressEvents.create() withConnection { it.newBuild().forTasks(taskName) .addProgressListener(events, OperationType.BUILD_PHASE) .run() } then: def progressEvents = events.getAll() progressEvents.size() == 6
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 10:41:50 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildEnvironmentCrossVersionSpec.groovy
when: ByteArrayOutputStream out = new ByteArrayOutputStream() withConnection { ProjectConnection connection -> connection.newBuild().setEnvironmentVariables(["var": "val"]).setStandardOutput(out).forTasks('printEnv').run() } then: out.toString().contains("<${["var": "val"]}>") } @TargetGradleVersion(">=4.11")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.1K bytes - Viewed (0)