Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 81 for copySpec (0.3 sec)

  1. 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)
  2. subprojects/core-api/src/main/java/org/gradle/api/file/SyncSpec.java

    /**
     * Synchronizes the contents of a destination directory with some source directories and files.
     *
     * @since 7.5
     */
    @HasInternalProtocol
    public interface SyncSpec extends CopySpec {
    
        /**
         * Returns the filter that defines which files to preserve in the destination directory.
         *
         * @return the filter defining the files to preserve
         */
        @Internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 07 09:09:21 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. 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)
  4. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.api.file.CopySpec.exclude(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (CopySpec.java:0)
    Method <org.gradle.api.file.CopySpec.exclude(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (CopySpec.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskChildSpecIntegrationTest.groovy

        def "can query file and dir mode if set in the parent"() {
            given:
            file("root/root-file.txt") << 'root'
            buildScript("""
                def baseSpec = copySpec {
                    from("root") {
                        println(filePermissions.getOrNull() == null ? "DEFAULT" : filePermissions.get().toUnixNumeric())
                        dirPermissions {unix(0755) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectory.java

                        try {
                            operations.copy(copySpec -> {
                                copySpec.from(unpackedRoot.dir);
                                copySpec.into(installFolder);
                            });
                        } catch (Throwable t) {
                            deleteWithoutThrowing(t, installFolder);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 23:47:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

                'out.txt',
                'file1.txt',
                'sub/file2.txt'
            )
        }
    
        def "copy with CopySpec"() {
            given:
            buildScript '''
                def parentSpec = copySpec {
                    from 'src'
                    exclude '**/ignore/**'
                    include '*/*.a'
                    into 'subdir'
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/dsl/org.gradle.api.Project.xml

                </tr>
                <tr>
                    <td>delete</td>
                </tr>
                <tr>
                    <td>copy</td>
                </tr>
                <tr>
                    <td>copySpec</td>
                </tr>
                <tr>
                    <td>sync</td>
                </tr>
                <tr>
                    <td>javaexec</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultFileOperationsTest.groovy

            when:
            fileOperations.mkdir('parentDir/dir')
    
            then:
            thrown(InvalidUserDataException)
        }
    
        def createsCopySpec() {
            when:
            def spec = fileOperations.copySpec { include 'pattern' }
    
            then:
            spec instanceof DefaultCopySpec
            spec.includes == ['pattern'] as Set
        }
    
        private TestFile expectPathResolved(String path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesCopyIntegrationTest.groovy

            outputDir.file('WEB-INF/lib/commons-io-2.6.jar').isFile()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("files/copy")
        def "can use a standalone copyspec within a copy with #dsl dsl"() {
            given:
            def dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
    
            when:
            succeeds('copyAssets')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top