- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for getDestination (0.2 sec)
-
platforms/documentation/docs/src/snippets/tasks/customTaskWithMissingFileProperty/groovy/build.gradle
abstract class GreetingFileTask extends DefaultTask { @InputFiles abstract RegularFileProperty getSource() @OutputFile abstract RegularFileProperty getDestination() @TaskAction def greet() { def file = getDestination().get().asFile if (source.get().asFile.exists()) { file.write("Hello ${source.get().asFile.text}!") } else { file.write 'Hello missing file!'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 949 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/customTaskWithFileProperty/groovy/build.gradle
// tag::all[] // tag::task[] abstract class GreetingToFileTask extends DefaultTask { @OutputFile abstract RegularFileProperty getDestination() @TaskAction def greet() { def file = getDestination().get().asFile file.parentFile.mkdirs() file.write 'Hello!' } } // end::task[] // tag::config[] def greetingFile = objects.fileProperty() tasks.register('greet', GreetingToFileTask) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 718 bytes - Viewed (0) -
platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/tasks/GenerateIvyDescriptor.java
*/ @OutputFile public File getDestination() { return destination == null ? null : getFileResolver().resolve(destination); } /** * Sets the destination the descriptor will be written to. * * @param destination The file the descriptor will be written to. * @since 4.0 */ public void setDestination(File destination) { this.destination = destination;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/config/analysis/analyzers/virtualservice/util.go
ServiceIndex: i, DestinationIndex: j, Destination: rd.GetDestination(), }) } } for i, r := range vs.GetTls() { for j, rd := range r.GetRoute() { destinations = append(destinations, &AnnotatedDestination{ RouteRule: "tls", ServiceIndex: i, DestinationIndex: j, Destination: rd.GetDestination(), }) } } for i, r := range vs.GetHttp() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 07 15:18:05 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/problemsFixed/groovy/build.gradle
// tag::fixed[] abstract class MyCopyTask extends DefaultTask { // <1> @InputDirectory abstract DirectoryProperty getSource() // <2> @OutputDirectory abstract DirectoryProperty getDestination() // <2> @Inject abstract FileSystemOperations getFs() // <3> @TaskAction void action() { fs.copy { // <3> from source into destination } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 617 bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ClientForwardingTestOutputOperationListener.java
InternalTestOutputDescriptor descriptor = new DefaultTestOutputDescriptor(new OperationIdentifier(idFactory.nextId()), buildOperationId); int destination = getDestination(progress.getOutput().getDestination()); DefaultTestOutputResult result = new DefaultTestOutputResult(progressEvent.getTime(), progressEvent.getTime(), destination, progress.getOutput().getMessage());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/problemsFixedReuse/groovy/build.gradle
abstract class MyCopyTask extends DefaultTask { @InputDirectory abstract DirectoryProperty getSource() @OutputDirectory abstract DirectoryProperty getDestination() @Inject abstract FileSystemOperations getFs() @TaskAction void action() { fs.copy { from source into destination } } } // tag::fixed-reuse[] tasks.register('someTask', MyCopyTask) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 607 bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestEventLogger.java
if (outputEvent.getDestination() == TestOutputEvent.Destination.StdOut && isLoggedEventType(TestLogEvent.STANDARD_OUT)) { logEvent(descriptor, TestLogEvent.STANDARD_OUT, TextUtil.indent(outputEvent.getMessage(), INDENT) + "\n"); } else if (outputEvent.getDestination() == TestOutputEvent.Destination.StdErr
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/tasks/GenerateMavenPom.java
*/ @OutputFile public File getDestination() { return destination == null ? null : getFileResolver().resolve(destination); } /** * Sets the destination the descriptor will be written to. * * @param destination The file the descriptor will be written to. * @since 4.0 */ public void setDestination(File destination) { this.destination = destination;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/test/internal/DefaultTestOutputOperationDescriptor.java
super(internalDescriptor, parent); this.destination = destination; this.message = message; } @Override public Destination getDestination() { return destination; } @Override public String getMessage() { return message; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.6K bytes - Viewed (0)