Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 81 for copySpec (0.54 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

                require(files("settings.gradle.kts").files.isNotEmpty(), { "files(paths)" })
                require(fileTree(".").contains(file("settings.gradle.kts")), { "fileTree(path)" })
                require(copySpec {} != null, { "copySpec {}" })
                require(mkdir("some").isDirectory, { "mkdir(path)" })
                require(delete("some"), { "delete(path)" })
                require(delete {} != null, { "delete {}" })
    
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  5. build-logic/packaging/src/main/kotlin/gradlebuild.distributions.gradle.kts

            manifestFile = generatedPropertiesFileFor("gradle${if (api == GradleModuleApiAttribute.API) "" else "-implementation"}-plugins")
        }
    
    fun configureDistribution(name: String, distributionSpec: CopySpec, buildDistLifecycleTask: TaskProvider<Task>, normalized: Boolean = false) {
        val disDir = if (normalized) "normalized-distributions" else "distributions"
        val zipRootFolder = if (normalized) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_6.adoc

    ==== Duplicates strategy
    
    Gradle 7 now fails when a copy operation (or any operation which uses a `org.gradle.api.file.CopySpec`) encounters a duplicate entry, and that the duplicates strategy isn't set.
    Please look at link:{javadocPath}/org/gradle/api/file/CopySpec.html#setDuplicatesStrategy-org.gradle.api.file.DuplicatesStrategy-[the CopySpec docs] for details.
    
    [[changes_6.9]]
    == Upgrading from 6.8 and earlier
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

                }
                dir2 {
                    dir3 { file 'file2.txt' }
                    file 'ignored.xml'
                }
            }
            and:
            buildFile << '''
                def distImage = copySpec {
                    include '**/*.txt'
                    from('test/dir1') {
                        into 'lib'
                    }
                    from('test/dir2') {
                        into 'src'
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

     * You can no longer pass `null` as the configuration action of link:{javadocPath}/org/gradle/api/file/CopySpec.html#from-java.lang.Object-org.gradle.api.Action-[CopySpec.from(Object, Action)].
     * For better compatibility with the Kotlin DSL, link:{javadocPath}/org/gradle/api/file/DuplicatesStrategy.html[CopySpec.duplicatesStrategy] is no longer nullable. The property setter no longer accepts `null` as a way
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.api.file.CopySpec.getDuplicatesStrategy()> does not have raw return type assignable to org.gradle.api.provider.Property in (CopySpec.java:0)
    Method <org.gradle.api.file.CopySpec.getFilteringCharset()> does not have raw return type assignable to org.gradle.api.provider.Property in (CopySpec.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_maven.adoc

    include::sample[dir="snippets/mavenMigration/basic/groovy",files="build.gradle[tags=process-resources]"]
    ====
    
    See the API docs for link:{javadocPath}/org/gradle/api/file/CopySpec.html[CopySpec] to see all the options available to you.
    
    
    [[migmvn:integration_tests]]
    == Configuring integration tests
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top