- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for forTask (0.29 sec)
-
platforms/ide/ide-plugins/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r54/RunEclipseSynchronizationTasksCrossVersionSpec.groovy
.buildFinished(new LoadEclipseModel(), buildFinishedHandler) .build() .setStandardOutput(out) .forTasks() .run() } then: taskExecuted(out, ":foo") } def "can use task reference in sync task list"() { setup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r54/RunEclipseAutoBuildTasksCrossVersionSpec.groovy
withConnection { connection -> connection.action().projectsLoaded(new TellGradleToRunAutoBuildTasks(), projectsLoadedHandler) .build() .setStandardOutput(out) .forTasks() .run() } then: taskExecuted(out, ":foo") } def "can use task reference in sync task list"() { setup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.2K bytes - Viewed (0) -
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/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/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) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r63/DistributionChecksumCrossVersionSpec.groovy
connection.newBuild().forTasks("wrapper").run() } file('gradle/wrapper/gradle-wrapper.properties') << 'distributionSha256Sum=bad' when: def connector = this.connector() connector.useBuildDistribution() withConnection(connector) { ProjectConnection connection -> connection.newBuild().forTasks("help").run() } then:
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/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy
file('sysProperty.txt') << System.getProperty('sysProperty') } } """ when: withConnection { ProjectConnection it -> it.newBuild().forTasks('printProperty').withArguments('-DsysProperty=welcomeToTheJungle').run() } then: file('sysProperty.txt').text.contains('welcomeToTheJungle') } def "can use custom build file"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r87/ProblemProgressEventCrossVersionTest.groovy
// issue https://github.com/gradle/gradle/issues/27484 } def runTask() { def listener = new ProblemProgressListener() withConnection { connection -> connection.newBuild().forTasks('reportProblem') .addProgressListener(listener) .run() } return listener.problems }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 11:36:58 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultPhasedBuildActionExecuter.java
} @Override public BuildActionExecuter<Void> forTasks(String... tasks) { operationParamsBuilder.setTasks(tasks != null ? Arrays.asList(tasks) : null); return getThis(); } @Override public BuildActionExecuter<Void> forTasks(Iterable<String> tasks) { operationParamsBuilder.setTasks(tasks != null ? CollectionUtils.toList(tasks) : null);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 3.7K bytes - Viewed (0)