- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for filesMatching (0.22 sec)
-
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) -
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) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DelegatingCopySpecInternal.java
} @Override public CopySpec filesMatching(String pattern, Action<? super FileCopyDetails> action) { return getDelegateCopySpec().filesMatching(pattern, action); } @Override public CopySpec filesMatching(Iterable<String> patterns, Action<? super FileCopyDetails> action) { return getDelegateCopySpec().filesMatching(patterns, action); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 10:41:40 UTC 2024 - 10.8K bytes - Viewed (0) -
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) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.AbstractCopyTask.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/tasks/AbstractCopyTask.java
/** * {@inheritDoc} */ @Override public AbstractCopyTask filesMatching(String pattern, Action<? super FileCopyDetails> action) { getMainSpec().filesMatching(pattern, action); return this; } /** * {@inheritDoc} */ @Override public AbstractCopyTask filesMatching(Iterable<String> patterns, Action<? super FileCopyDetails> action) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 10:41:40 UTC 2024 - 16.8K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/CopySpec.java
* <p> * This strategy can be overridden for individual files by using {@link #eachFile(org.gradle.api.Action)} or {@link #filesMatching(String, org.gradle.api.Action)}. * * @return the strategy to use for files included by this copy spec. * @see DuplicatesStrategy */ DuplicatesStrategy getDuplicatesStrategy();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 16 22:05:15 UTC 2022 - 12.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy
} def "can rename files that match a pattern in filesMatching() action defined using Groovy closure"() { given: file('files/a.txt').createFile() file('files/dir/b.txt').createFile() buildScript ''' task copy(type: Copy) { into 'dest' from 'files' filesMatching('dir/**') { fcd -> println("visiting ${fcd.path}")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 67.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 26 08:05:50 UTC 2023 - 14.7K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/JavaGradlePluginPlugin.java
PluginValidationAction pluginValidationAction = new PluginValidationAction(pluginsProvider, actionsState); jarTask.filesMatching(PLUGIN_DESCRIPTOR_PATTERN, pluginDescriptorCollector); jarTask.filesMatching(CLASSES_PATTERN, classManifestCollector); jarTask.appendParallelSafeAction(pluginValidationAction); }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 06:56:29 UTC 2024 - 24.8K bytes - Viewed (0)