- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for copyTaskWithPatterns (0.3 sec)
-
platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle
tasks.register('copyTask', Copy) { from 'src/main/webapp' into layout.buildDirectory.dir('explodedWar') } // end::copy-task[] // tag::copy-task-with-patterns[] tasks.register('copyTaskWithPatterns', Copy) { from 'src/main/webapp' into layout.buildDirectory.dir('explodedWar') include '**/*.html' include '**/*.jsp' exclude { FileTreeElement details ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts
val copyTask by tasks.registering(Copy::class) { from("src/main/webapp") into(layout.buildDirectory.dir("explodedWar")) } // tag::copy-task-with-patterns[] tasks.register<Copy>("copyTaskWithPatterns") { from("src/main/webapp") into(layout.buildDirectory.dir("explodedWar")) include("**/*.html") include("**/*.jsp") exclude { details: FileTreeElement ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesCopyIntegrationTest.groovy
def "can use copy task with patterns with #dsl dsl"() { given: def dslDir = sample.dir.file(dsl) executer.inDirectory(dslDir) when: succeeds('copyTaskWithPatterns') then: def outputDir = dslDir.file("build/explodedWar") outputDir.file('web.xml').assertDoesNotExist() 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)