Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for toContentFilter (0.27 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptorTest.groovy

            def descriptor = new DefaultRepositoryContentDescriptor({ "my-repo" }, new VersionParser())
    
            given:
            descriptor."exclude$method"(expr)
    
            when:
            def action = descriptor.toContentFilter()
            details.moduleId >> fooMod
            details.componentId >> DefaultModuleComponentIdentifier.newId(fooMod, version)
            action.execute(details)
    
            then:
            if (excluded) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultMavenRepositoryContentDescriptor.java

        public void snapshotsOnly() {
            snapshots = true;
            releases = false;
        }
    
        @Override
        public Action<? super ArtifactResolutionDetails> toContentFilter() {
            Action<? super ArtifactResolutionDetails> filter = super.toContentFilter();
            if (!snapshots || !releases) {
                Action<? super ArtifactResolutionDetails> action = details -> {
                    if (!details.isVersionListing()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/RepositoryContentDescriptorInternal.java

    import javax.annotation.Nullable;
    import java.util.Map;
    import java.util.Set;
    
    public interface RepositoryContentDescriptorInternal extends RepositoryContentDescriptor {
        Action<? super ArtifactResolutionDetails> toContentFilter();
        RepositoryContentDescriptorInternal asMutableCopy();
    
        /**
         * Returns values added by {@link #onlyForConfigurations}.
         */
        @Nullable
        Set<String> getIncludedConfigurations();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 13 17:41:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/internal/PluginArtifactRepository.java

            configureAction.execute(repositoryContentDescriptor);
        }
    
        @Override
        public Action<? super ArtifactResolutionDetails> getContentFilter() {
            return repositoryContentDescriptor.toContentFilter();
        }
    
        @Nullable
        @Override
        public Set<String> getIncludedConfigurations() {
            return repositoryContentDescriptor.getIncludedConfigurations();
        }
    
        @Nullable
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 18 21:30:55 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/AbstractArtifactRepository.java

            return repositoryContentDescriptor.asMutableCopy();
        }
    
        @Override
        public Action<? super ArtifactResolutionDetails> getContentFilter() {
            return repositoryContentDescriptor.toContentFilter();
        }
    
        @Override
        public Set<String> getIncludedConfigurations() {
            return repositoryContentDescriptor.getIncludedConfigurations();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptor.java

                    repositoryNameSupplier.get() +
                    "' after repository has been used");
            }
        }
    
        @Override
        public Action<? super ArtifactResolutionDetails> toContentFilter() {
            if (cachedAction != null) {
                return cachedAction;
            }
            locked = true;
            if (includeSpecs == null && excludeSpecs == null) {
                // no filtering in place
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top