Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 81 for copySpec (0.73 sec)

  1. platforms/documentation/docs/src/docs/userguide/api/groovy_build_script_primer.adoc

     * For `Action` arguments, look at the type's parameter.
    +
    In the example above, the method signature is `copy(Action<? super CopySpec>)` and it's the bit inside the angle brackets that tells you the delegate type — link:{javadocPath}/org/gradle/api/file/CopySpec.html[CopySpec] in this case.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt

            override fun copy(action: Action<in CopySpec>): WorkResult {
                onAccess("copy")
                return delegate.copy(action)
            }
    
            override fun copySpec(closure: Closure<*>): CopySpec {
                onAccess("copySpec")
                return delegate.copySpec(closure)
            }
    
            override fun copySpec(action: Action<in CopySpec>): CopySpec {
                onAccess("copySpec")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top