- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 105 for forTask (0.14 sec)
-
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/r22/CancellationCrossVersionSpec.groovy
def resultHandler = new TestResultHandler() when: withConnection { ProjectConnection connection -> def build = connection.newBuild() build.forTasks(':sub:broken') build.withCancellationToken(cancel.token()) build.run(resultHandler) sync.waitForAllPendingCalls(resultHandler) cancel.cancel() sync.releaseAll()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/BuildProgressCrossVersionSpec.groovy
def events = ProgressEvents.create() withConnection { ProjectConnection connection -> connection.model(BuildInvocations).forTasks('assemble').addProgressListener(events, EnumSet.of(OperationType.GENERIC)).get() } then: "build progress events must be forwarded to the attached listeners" events.assertIsABuild() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 7.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/ProgressCrossVersionSpec.groovy
def events = ProgressEvents.create() withConnection { ProjectConnection connection -> connection.model(BuildInvocations).forTasks('assemble').addProgressListener(events).get() } then: "progress events must be forwarded to the attached listeners" events.assertIsABuild() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4.3K 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/core-runtime/build-profile/src/integTest/groovy/org/gradle/profile/ProfilingIntegrationTest.groovy
file('settings.gradle') << 'include "a", "b", "c"' buildFile << ''' allprojects { apply plugin: 'java' task fooTask task barTask } ''' when: executer.withArgument("--profile") succeeds("build", "fooTask", "-x", "barTask") then: def reportFile = findReport() Document document = Jsoup.parse(reportFile, null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 12:58:53 UTC 2023 - 3.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/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/BuildSrcCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.9K 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)