- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 51 for forTask (0.22 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskOriginCrossVersionSpec.groovy
} private void runBuild(String task, Action<BuildLauncher> config = {}) { withConnection { def launcher = newBuild() .forTasks(task) .addProgressListener(events, EnumSet.of(OperationType.TASK)) config.execute(launcher) launcher.run() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy
TestOperationCollector collector = new TestOperationCollector() withConnection { connection -> def build = connection.newBuild() build.addProgressListener(collector) build.forTasks(":other-build:sub:test").run() } TestOperationDescriptor descriptor = collector.descriptors.find { it.name == "myTestMethod" } when: withConnection { connection ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 15.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy
} private void runCacheableBuild(listener, String task = "cacheable") { withConnection { ProjectConnection connection -> connection.newBuild().withArguments("--build-cache").forTasks(task).addProgressListener(listener, EnumSet.of(OperationType.GENERIC, OperationType.TASK)).run() } } int maybeIncludeLocalBuildOperations(int expectedNumber) { hasLocalBuildCacheOperations()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/WorkItemProgressEventCrossVersionSpec.groovy
events } private Object runBuild(String task, ProgressListener listener, Set<OperationType> operationTypes) { withConnection { newBuild() .forTasks(task) .addProgressListener(listener, operationTypes) .run() } } def prepareTaskTypeUsingWorker() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultTestLauncher.java
} } @Override public TestLauncher debugTestsOn(int port) { this.debugOptions.setPort(port); return this; } @Override public TestLauncher forTasks(String... tasks) { this.isRunDefaultTasks = tasks.length == 0; for (String task : tasks) { taskSpecs.add(new DefaultTaskSpec(task)); } return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 9.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskExecutionResultCrossVersionSpec.groovy
} private void runBuild(String... tasks) { events.clear() withConnection { ProjectConnection connection -> connection.newBuild() .forTasks(tasks) .addProgressListener(events, EnumSet.of(OperationType.TASK)) .run() } } private TaskSkippedResult taskSkippedResult(String path) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TransformProgressEventCrossVersionSpec.groovy
} } private Object runBuild(String task, Set<OperationType> operationTypes = EnumSet.allOf(OperationType)) { withConnection { newBuild() .forTasks(task) .addProgressListener(events, operationTypes) .run() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 56.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy
ByteArrayOutputStream err = new ByteArrayOutputStream(); connection.newBuild() .forTasks("help") .setStandardOutput(out) .setStandardError(err) .setJavaHome(javaHome) .run();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 12.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy
def error = new ByteArrayOutputStream() def args = executer.allArgs args.remove("--no-daemon") model = connection.model(type) .forTasks(tasks) .withArguments(args) .setStandardOutput(new TeeOutputStream(output, System.out)) .setStandardError(new TeeOutputStream(error, System.err)) .get()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 15.1K bytes - Viewed (0)