Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 68 of 68 for copySpec (0.19 sec)

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

    | A task input or output property or a script variable to capture the result of using `project.resource` to calculate the actual parameter.
    
    | `project.copySpec {}`
    | link:{javadocPath}/org/gradle/api/file/FileSystemOperations.html#copySpec--[FileSystemOperations.copySpec {}]
    
    | `project.copy {}`
    | link:{javadocPath}/org/gradle/api/file/FileSystemOperations.html#copy-org.gradle.api.Action-[FileSystemOperations.copy {}]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
Back to top