Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for copySpec (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/documentation/docs/src/docs/userguide/jvm/application_plugin.adoc

    |===
    
    Static files to be added to the distribution can be simply added to `src/dist`. More advanced customization can be done by configuring the link:{javadocPath}/org/gradle/api/file/CopySpec.html[CopySpec] exposed by the main distribution.
    
    .Include output from other tasks in the application distribution
    ====
    include::sample[dir="snippets/java/application/kotlin",files="build.gradle.kts[tags=distribution-spec]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileTreeCodec.kt

                    when {
                        // Optimize a common case, where fileCollection.asFileTree.matching(emptyPatterns) is used,
                        // e.g. in SourceTask and in CopySpec.
                        // Skip applying the filters to the tree
                        fileCollection.patterns.isEmpty -> {
                            fileCollection.tree.visitStructure(this)
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/JavaGradlePluginPlugin.java

    import org.gradle.api.artifacts.Configuration;
    import org.gradle.api.artifacts.component.ComponentIdentifier;
    import org.gradle.api.artifacts.dsl.DependencyHandler;
    import org.gradle.api.file.CopySpec;
    import org.gradle.api.file.FileCollection;
    import org.gradle.api.file.FileCopyDetails;
    import org.gradle.api.internal.artifacts.dsl.dependencies.DependencyFactoryInternal;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:56:29 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top