Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for extraAttributes (0.4 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/AttributeSelectionUtils.java

            Set<Attribute<?>> extraAttributes = new LinkedHashSet<>();
            for (ImmutableAttributes attributes : candidateAttributeSets) {
                extraAttributes.addAll(attributes.keySet());
            }
            removeSameAttributes(requested, extraAttributes);
            Attribute<?>[] extraAttributesArray = extraAttributes.toArray(new Attribute<?>[0]);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ivy/DefaultMutableIvyModuleResolveMetadata.java

        }
    
        @Override
        public ImmutableMap<NamespaceId, String> getExtraAttributes() {
            return extraAttributes;
        }
    
        @Override
        public void setExtraAttributes(Map<NamespaceId, String> extraAttributes) {
            this.extraAttributes = ImmutableMap.copyOf(extraAttributes);
        }
    
        @Nullable
        @Override
        public String getBranch() {
            return branch;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributeSelectionSchemaTest.groovy

            ]
            AttributeContainer requested = attribute(attr1, "v3")
    
            when:
            def extraAttributes = schema.collectExtraAttributes(candidates, requested).toList()
    
            then:
            extraAttributes.contains(attr2)
            extraAttributes.contains(attr3)
            !extraAttributes.contains(attr1)
        }
    
        def "prefers extra attributes from the selection schema"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 20:17:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributeSelectionUtilsTest.groovy

            requested {
                attribute(attr1, "v3")
            }
    
            when:
            collectExtraAttributes()
    
            then:
            extraAttributes.isEmpty()
        }
    
        private boolean hasExtraAttribute(Attribute<?> attribute) {
            extraAttributes.contains(attribute)
        }
    
        private boolean doesNotHaveExtraAttribute(Attribute<?> attribute) {
            !hasExtraAttribute(attribute)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/IvyUtil.java

            return createModuleRevisionId(org, name, branch, rev, extraAttributes, true);
        }
    
        public static ModuleRevisionId createModuleRevisionId(String org, String name, String branch, String revConstraint, Map<String, String> extraAttributes, boolean replaceNullBranchWithDefault) {
            synchronized (MODULE_ID_LOCK) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/MultipleCandidateMatcher.java

            }
    
            Attribute<?>[] extraAttributes = schema.collectExtraAttributes(candidateAttributeSets, requested);
            if (remaining.cardinality() > 1) {
                disambiguateWithExtraAttributes(extraAttributes);
            }
            if (remaining.cardinality() > 1) {
                disambiguateWithRequestedAttributeKeys(extraAttributes);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ivy/DefaultIvyModuleResolveMetadata.java

            this.branch = metadata.branch;
            this.artifactDefinitions = metadata.artifactDefinitions;
            this.dependencies = metadata.dependencies;
            this.excludes = metadata.excludes;
            this.extraAttributes = metadata.extraAttributes;
    
            copyCachedState(metadata, metadata.getVariantDerivationStrategy() != variantDerivationStrategy);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ivy/RealisedIvyModuleResolveMetadata.java

            this.artifactDefinitions = metadata.artifactDefinitions;
            this.dependencies = metadata.dependencies;
            this.excludes = metadata.excludes;
            this.extraAttributes = metadata.extraAttributes;
            this.metadata = metadata.metadata;
        }
    
        RealisedIvyModuleResolveMetadata(
            DefaultIvyModuleResolveMetadata metadata,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy

        @Override
        IvyModule withNoIvyMetaData() {
            metadataPublish = MetadataPublish.GRADLE
            return this
        }
    
        IvyFileModule withExtraAttributes(Map extraAttributes) {
            this.extraAttributes.putAll(extraAttributes)
            return this
        }
    
        /**
         * Keys in extra info will be prefixed with namespace prefix "ns" in this fixture.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParser.java

                Map<String, String> extraAttributes = getExtraAttributes(attributes, ignoredAttNames);
                for (String name : extraAttributes.keySet()) {
                    item.setExtraAttribute(name, extraAttributes.get(name));
                }
            }
    
            private PatternMatcher getMatcher(String matcherName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top