- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for setStandardOutput (0.27 sec)
-
platforms/ide/ide-plugins/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r54/RunEclipseSynchronizationTasksCrossVersionSpec.groovy
connection.action().projectsLoaded(new TellGradleToRunSyncTasks(), projectsLoadedHandler) .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
when: 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/r41/BuildListenerCrossVersionSpec.groovy
when: withConnection { ProjectConnection connection -> connection.model(GradleProject) .setStandardOutput(output) .get() } then: listenersWereCalled() } def "build listeners are called when using configure-on-demand with build actions"() { when:
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/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/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/DelegatingBaseExecSpec.java
} @Override default InputStream getStandardInput() { return getDelegate().getStandardInput(); } @Override default BaseExecSpec setStandardOutput(OutputStream outputStream) { getDelegate().setStandardOutput(outputStream); return this; } @Override default OutputStream getStandardOutput() { return getDelegate().getStandardOutput(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/toolingApi/runBuild/kotlin/src/main/java/org/gradle/sample/Main.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/toolingApi/runBuild/groovy/src/main/java/org/gradle/sample/Main.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/RunTasksBeforeRunActionCrossVersion.groovy
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/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/xcode/AbstractLocator.java
if (developerDir != null) { execAction.environment("DEVELOPER_DIR", developerDir); } execAction.setStandardOutput(outputStream); execAction.execute().assertNormalExitValue(); cachedLocation = new File(outputStream.toString().replace("\n", "")); } return cachedLocation;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r85/ProblemProgressEventCrossVersionTest.groovy
withConnection { connection -> connection.newBuild() .forTasks(":ba") .addProgressListener(listener) .setStandardError(System.err) .setStandardOutput(System.out) .addArguments("--info") .run() } then: thrown(BuildException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 06:47:12 UTC 2024 - 2.2K bytes - Viewed (0)