- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for withProducer (0.33 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy
schema.attribute(attr2) producer.attribute(attr2) producer.attribute(attr3) expect: schema.withProducer(producer).selectionSchema.hasAttribute(attr1) schema.withProducer(producer).selectionSchema.hasAttribute(attr2) schema.withProducer(producer).selectionSchema.hasAttribute(attr3) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 16.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/DefaultArtifactVariantSelectorFactoryTest.groovy
set.variants >> variants variant1.attributes >> typeAttributes("classes") variant1.artifacts >> variant1Artifacts variant2.attributes >> typeAttributes("jar") consumerSchema.withProducer(producerSchema) >> attributeMatcher attributeMatcher.matches(_ as Collection, typeAttributes("classes"), _ as AttributeMatchingExplanationBuilder) >> [variant1] expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 13:08:22 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java
); if (result == null) { ComponentGraphResolveMetadata targetComponent = targetComponentState.getMetadata(); AttributeMatcher attributeMatcher = consumerSchema.withProducer(targetComponent.getAttributesSchema()); GraphSelectionCandidates candidates = targetComponentState.getCandidatesForGraphVariantSelection();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 17.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultAttributesSchema.java
} @Override public AttributeMatcher withProducer(AttributesSchemaInternal producerSchema) { return matcherCache.computeIfAbsent(producerSchema, key -> new DefaultAttributeMatcher(new DefaultAttributeSelectionSchema(this, producerSchema))); } @Override public AttributeMatcher matcher() { return withProducer(EmptySchema.INSTANCE); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 16:59:54 UTC 2024 - 16.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelector.java
AttributeMatcher matcher = schema.withProducer(producer.getSchema()); ImmutableAttributes componentRequested = attributesFactory.concat(requestAttributes, producer.getOverriddenAttributes());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 30 13:33:37 UTC 2024 - 10K bytes - Viewed (0)