Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for filesMatching (0.38 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopySpecMatchingTest.groovy

            given:
            FileCopyDetails details1 = details('path/abc.txt')
            FileCopyDetails details2 = details('path/bcd.txt')
    
            Action matchingAction = Mock()
    
            when:
            copySpec.filesMatching("**/a*", matchingAction)
            copySpec.copyActions.each { copyAction ->
                copyAction.execute(details1)
                copyAction.execute(details2)
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopySpecIntegrationSpec.groovy

        public final TestResources resources = new TestResources(testDirectoryProvider, "copyTestResources")
    
        def "can use filesMatching with List"() {
            given:
            buildScript """
                task (copy, type: Copy) {
                    from 'src'
                    into 'dest'
                    filesMatching(['**/ignore/**', '**/sub/**']) {
                        name = "matched\${name}"
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:45:30 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/CopySpecWrapper.java

        }
    
        @Override
        public CopySpec filesMatching(String pattern, Action<? super FileCopyDetails> action) {
            delegate.filesMatching(pattern, action);
            return this;
        }
    
        @Override
        public CopySpec filesMatching(Iterable<String> patterns, Action<? super FileCopyDetails> action) {
            delegate.filesMatching(patterns, action);
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.AbstractCopyTask.xml

                </tr>
                <tr>
                    <td>expand</td>
                </tr>
                <tr>
                    <td>eachFile</td>
                </tr>
                <tr>
                    <td>filesMatching</td>
                </tr>
                <tr>
                    <td>filesNotMatching</td>
                </tr>
            </table>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/build.gradle.kts

        implementation(projects.enterpriseOperations)
        implementation(projects.execution)
        implementation(projects.fileCollections)
        implementation(projects.fileWatching)
        implementation(projects.files)
        implementation(projects.flowServices)
        implementation(projects.functional)
        implementation(projects.graphSerialization)
        implementation(projects.guavaSerializationCodecs)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top