- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for isMatching (0.21 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinderTest.groovy
1 * attributeMatcher.isMatching(sourceVariant.getAttributes(), fromSource) >> true 1 * attributeMatcher.isMatching(sourceVariant.getAttributes(), fromOther) >> false // other variant matches fromOther, but not fromSource 1 * attributeMatcher.isMatching(otherVariant.getAttributes(), fromSource) >> false 1 * attributeMatcher.isMatching(otherVariant.getAttributes(), fromOther) >> true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 22.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/AttributeMatcher.java
/** * Determines whether the given candidate is compatible with the requested criteria. */ boolean isMatching(AttributeContainerInternal candidate, AttributeContainerInternal requested); <T> boolean isMatching(Attribute<T> attribute, T candidate, T requested); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultAttributeMatcherTest.groovy
matcher.matches([candidate2, candidate3, candidate4], requested, explanationBuilder) == [candidate4] matcher.isMatching(candidate1, requested) !matcher.isMatching(candidate2, requested) !matcher.isMatching(candidate3, requested) matcher.isMatching(candidate4, requested) } def "selects candidate with additional attributes and whose values match"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 24.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinder.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy
expect: !schema.matcher().selectionSchema.matchValue(attribute, "a", "b") schema.matcher().selectionSchema.matchValue(attribute, "a", "a") !schema.matcher().isMatching(attribute, "a", "b") schema.matcher().isMatching(attribute, "a", "a") } static class DoNothingRule implements AttributeCompatibilityRule<String> { static int count @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 16.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/compatibility/CrossVersionTestInterceptor.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultAttributeMatcher.java
this.schema = schema; } @Override public AttributeSelectionSchema getSelectionSchema() { return schema; } @Override public boolean isMatching(AttributeContainerInternal candidate, AttributeContainerInternal requested) { if (requested.isEmpty() || candidate.isEmpty()) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 9.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelector.java
// while y may not be compatible with x. We accept compatibility in either direction as sufficient for this method. return !matcher.isMatching(firstCandidate.getAttributes(), secondCandidate.getAttributes()) && !matcher.isMatching(secondCandidate.getAttributes(), firstCandidate.getAttributes()); } private static class TraceDiscardedVariants implements AttributeMatchingExplanationBuilder {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 30 13:33:37 UTC 2024 - 10K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/dependencies/GradlePluginVariantsSupportTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy
1 * variantSet.getOverriddenAttributes() >> ImmutableAttributes.EMPTY 2 * attributeMatcher.matches(_, _, _) >> [variant, otherVariant] 2 * attributeMatcher.isMatching(_, _, _) >> true 0 * consumerProvidedVariantFinder._ } def 'does not perform schema disambiguation against a single transform result'() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 13:08:22 UTC 2024 - 8.3K bytes - Viewed (0)