- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 51 for forTask (0.18 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/DaemonJvmCompatibilityCrossVersionSpec.groovy
withConnection { connection -> connection.newBuild().forTasks('help').run() } file("gradle.properties").writeProperties("org.gradle.java.home": jdk17.javaHome.absolutePath) withConnection { connection -> connection.newBuild().forTasks('help').run() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:16:16 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiPhasedBuildActionIntegrationTest.groovy
def models = runPhasedBuildAction(new FetchPartialCustomModelForEachProject(), new FetchCustomModelForEachProject()) { // Empty list means "run tasks defined by build logic or default tasks" forTasks([]) } then: def messages = models.left messages.size() == 2 messages[0] == "It works from project :" messages[1] == "It works from project :a"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemProgressEventCrossVersionTest.groovy
""" } def runTask() { def listener = new ProblemProgressListener() withConnection { connection -> connection.newBuild().forTasks('reportProblem') .addProgressListener(listener) .run() } return listener.problems.collect { it.descriptor } } @TargetGradleVersion("=8.3")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 11:36:58 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/StandardStreamsCrossVersionSpec.groovy
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/main/java/org/gradle/tooling/internal/consumer/DefaultModelBuilder.java
return model; } }, new ResultHandlerAdapter<T>(handler)); } @Override public DefaultModelBuilder<T> forTasks(String... tasks) { // only set a non-null task list on the operationParamsBuilder if at least one task has been given to this method,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildBuildActionExecuterCrossVersionSpec.groovy
toolingApi.withConnection { ProjectConnection connection -> def buildAction = connection.action(new LoadCompositeModel(GradleProject)) collectOutputs(buildAction) buildAction.forTasks([':other-build:sub:doSomething']) buildAction.run() } 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.8K 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/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) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy
} private void runCacheableBuild(listener) { withConnection { ProjectConnection connection -> connection.newBuild().withArguments("--build-cache").forTasks('cacheable').addProgressListener(listener, EnumSet.of(OperationType.TASK)).run() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 2.9K bytes - Viewed (0)