Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for copySpec (0.14 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DestinationRootCopySpec.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.file.copy;
    
    import org.gradle.api.file.CopySpec;
    import org.gradle.internal.file.PathToFileResolver;
    
    import javax.inject.Inject;
    import java.io.File;
    
    public class DestinationRootCopySpec extends DelegatingCopySpecInternal {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    The link:{javadocPath}/org/gradle/api/file/CopySpec.html[CopySpec] interface, which the `Copy` task implements, offers:
    
    * A link:{javadocPath}/org/gradle/api/file/CopySpec.html#from-java.lang.Object++...++-[CopySpec.from(java.lang.Object...)] method to define what to copy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle

        dependsOn tasks.withType(Copy)
        dependsOn copyMethod
        dependsOn copyMethodWithExplicitDependencies
    }
    
    def appClasses = layout.buildDirectory.dir('classes')
    
    // tag::standalone-copyspec[]
    CopySpec webAssetsSpec = copySpec {
        from 'src/main/webapp'
        include '**/*.html', '**/*.png', '**/*.jpg'
        rename '(.+)-staging(.+)', '$1$2'
    }
    
    tasks.register('copyAssets', Copy) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/InstallExecutable.java

        }
    
        private void installToDir(final File binaryDir, final File executableFile, final Collection<File> libs) {
            getFileSystemOperations().sync(copySpec -> {
                copySpec.into(binaryDir);
                copySpec.from(executableFile);
                copySpec.from(libs);
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. platforms/software/plugins-distribution/src/main/java/org/gradle/api/distribution/plugins/DistributionPlugin.java

                task.getArchiveBaseName().convention(distribution.getDistributionBaseName());
                task.getArchiveClassifier().convention(distribution.getDistributionClassifier());
    
                final CopySpec childSpec = project.copySpec();
                childSpec.with(distribution.getContents());
                childSpec.into((Callable<String>)() -> TextUtil.minus(task.getArchiveFileName().get(), "." + task.getArchiveExtension().get()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 20:49:58 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * to configure the {@link CopySpec} before it is returned by this method.
         *
         * @see #copySpec(Closure)
         * @param action Action to configure the CopySpec
         * @return The CopySpec
         */
        CopySpec copySpec(Action<? super CopySpec> action);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java

            return Actions.with(copySpec(), action);
        }
    
        @Override
        public CopySpec copySpec() {
            return getFileOperations().copySpec();
        }
    
        @Inject
        @Override
        public abstract ProcessOperations getProcessOperations();
    
        @Override
        public ExecResult javaexec(Closure closure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/dsl/org.gradle.api.Script.xml

                </tr>
                <tr>
                    <td>tarTree</td>
                </tr>
                <tr>
                    <td>copy</td>
                </tr>
                <tr>
                    <td>copySpec</td>
                </tr>
                <tr>
                    <td>mkdir</td>
                </tr>
                <tr>
                    <td>delete</td>
                </tr>
                <tr>
                    <td>javaexec</td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/plugins/ApplicationPluginTest.groovy

     * limitations under the License.
     */
    package org.gradle.api.plugins
    
    import org.gradle.api.distribution.plugins.DistributionPlugin
    import org.gradle.api.file.CopySpec
    import org.gradle.api.internal.tasks.JvmConstants
    import org.gradle.api.tasks.JavaExec
    import org.gradle.api.tasks.SourceSet
    import org.gradle.api.tasks.TaskDependencyMatchers
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. platforms/software/plugins-distribution/src/main/java/org/gradle/api/distribution/internal/DefaultDistributionContainer.java

            this.fileOperations = fileOperations;
        }
    
        @Override
        protected Distribution doCreate(String name) {
            return objectFactory.newInstance(DefaultDistribution.class, name, fileOperations.copySpec());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 20:49:58 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top