Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for filesMatching (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy

            when:
            spec.eachFile {}
    
            then:
            spec.copyActions.size() == 1
        }
    
        def 'matching creates appropriate action'() {
            when:
            spec.filesMatching 'root/**/a*', Actions.doNothing()
    
            then:
            spec.copyActions.size() == 1
            def (copyAction) = spec.copyActions
            copyAction instanceof MatchingCopyAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 26 08:05:50 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  5. 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)
  6. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java

        }
    
        @Override
        public CopySpec filesMatching(String pattern, Action<? super FileCopyDetails> action) {
            PatternMatcher matcher = PatternMatcherFactory.getPatternMatcher(true, isCaseSensitive(), pattern);
            return eachFile(new MatchingCopyAction(matcher, action));
        }
    
        @Override
        public CopySpec filesMatching(Iterable<String> patterns, Action<? super FileCopyDetails> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  7. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy

                archiveFileName = 'test.jar'
                destinationDirectory = projectDir
                from 'dir1'
                from 'dir2'
                duplicatesStrategy = 'exclude'
                filesMatching ('META-INF/services/**') {
                    duplicatesStrategy = 'include'
                }
            }
            '''
    
            when:
            run 'jar'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top