Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for CopySpec (0.15 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DistributionArchive.java

     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal;
    
    import org.gradle.api.Named;
    import org.gradle.api.file.CopySpec;
    import org.gradle.api.tasks.Sync;
    import org.gradle.api.tasks.TaskProvider;
    import org.gradle.api.tasks.bundling.AbstractArchiveTask;
    
    import java.util.function.Supplier;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

        @TaskAction
        public void transform() {
            File destinationFile = getDestinationFile().get().getAsFile();
    
            getFs().copy(copySpec -> {
                copySpec.from(getHtmlFile());
                copySpec.into(destinationFile.getParentFile());
                copySpec.rename(s -> destinationFile.getName());
    
                // TODO: Maybe this could be simplified by not using the copy infrastructure and just
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:08:23 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPlugin.java

                t.setCompression(Compression.GZIP);
            });
        }
    
        private void registerEmptyDirectoryTasks(Project project) {
            // CopySpec does not make it easy to create an empty directory so we
            // create the directory that we want, and then point CopySpec to its
            // parent to copy to the root of the distribution
            File logsDir = new File(project.getBuildDir(), "logs-hack/logs");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 22 19:01:26 GMT 2021
    - 7.9K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPluginFuncTest.groovy

            def snapshotFile = file("snapshot-\${version}.txt")
            snapshotFile << 'some snapshot content'
            distribution_archives {
                producerTar {
                    content {
                        project.copySpec {
                            from 'someFile.txt'
                            from snapshotFile
                        }
                    }
                }
            }
    
            project('consumer') { p ->
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.4K bytes
    - Click Count (0)
Back to Top