Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for anotherCopyTask (2.06 sec)

  1. platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts

            details.file.name.endsWith(".html") &&
                details.file.readText().contains("DRAFT")
        }
    }
    // end::copy-task-with-patterns[]
    
    // tag::copy-task-2[]
    tasks.register<Copy>("anotherCopyTask") {
        // Copy everything under src/main/webapp
        from("src/main/webapp")
        // Copy a single file
        from("src/staging/index.html")
        // Copy the output of a task
        from(copyTask)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle

            details.file.name.endsWith('.html') &&
                details.file.text.contains('DRAFT')
        }
    }
    // end::copy-task-with-patterns[]
    
    // tag::copy-task-2[]
    tasks.register('anotherCopyTask', Copy) {
        // Copy everything under src/main/webapp
        from 'src/main/webapp'
        // Copy a single file
        from 'src/staging/index.html'
        // Copy the output of a task
        from copyTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesCopyIntegrationTest.groovy

        def "can use copy task with multiple from clauses with #dsl dsl"() {
            given:
            def dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
    
            when:
            succeeds('anotherCopyTask')
    
            then:
            def outputDir = dslDir.file("some-dir")
            outputDir.file('web.xml').isFile()
            outputDir.file('index-staging.html').isFile()
    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