- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for isDescribable (2.88 sec)
-
platforms/jvm/jvm-services/src/main/java/org/gradle/api/internal/artifacts/JavaEcosystemAttributesDescriber.java
* * @param attribute the attribute to check * @return {@code true} if the given attribute is describable by this describer; {@code false} otherwise */ public boolean isDescribable(Attribute<?> attribute) { return describableAttributes.stream().anyMatch(describableAttribute -> haveSameName(attribute, describableAttribute)); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 19:13:00 UTC 2024 - 14.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/DefaultArtifactVariantSelectorFactoryTest.groovy
def variants = [variant1, variant2] as Set given: set.asDescribable() >> Describables.of('<component>') set.schema >> producerSchema set.variants >> variants variant1.asDescribable() >> Describables.of('<variant1>') variant1.attributes >> typeAttributes("classes") variant2.asDescribable() >> Describables.of('<variant2>') variant2.attributes >> typeAttributes("jar")
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/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy
getAttributes() >> AttributeTestUtil.attributes(['artifactType': 'jar']) asDescribable() >> Describables.of("mock resolved variant") } def otherVariant = Mock(ResolvedVariant) { getAttributes() >> AttributeTestUtil.attributes(['artifactType': 'classes']) asDescribable() >> Describables.of("mock other resolved variant") } def yetAnotherVariant = Mock(ResolvedVariant) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 13:08:22 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelector.java
} if (allowNoMatchingVariants) { return ResolvedArtifactSet.EMPTY; } throw failureProcessor.noMatchingArtifactVariantFailure(schema, matcher, producer.asDescribable().getDisplayName(), componentRequested, variants); } /**
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/main/java/org/gradle/internal/component/local/model/DefaultLocalConfigurationMetadata.java
dependencies, copiedVariants.build(), factory, transformedArtifacts ); } @Override public String toString() { return asDescribable().getDisplayName(); } @Override public DisplayName asDescribable() { return Describables.of(componentId, "configuration", name); } @Override public String getName() { return name; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 13:59:13 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/DefaultResolvedVariantSet.java
public ImmutableAttributes getOverriddenAttributes() { return selectionAttributes; } @Override public String toString() { return asDescribable().getDisplayName(); } @Override public Describable asDescribable() { return Describables.of(componentIdentifier); } @Override public AttributesSchemaInternal getSchema() { return schema; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/RealisedVariantBackedConfigurationMetadata.java
} @Override public Identifier getIdentifier() { return delegate.getIdentifier(); } @Override public DisplayName asDescribable() { return delegate.asDescribable(); } /** * Returns the complete set of attributes of this variant, which consists of a view of the union
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/AbstractMutableModuleComponentResolveMetadataTest.groovy
def runtime = variantsForTraversal[1] runtime.name == 'runtime' runtime.asDescribable().displayName == 'group:module:version variant runtime' runtime.attributes == attributes2 runtime.variants.size() == 1 runtime.dependencies.size() == 2 runtime.variants[0].asDescribable().displayName == "group:module:version variant runtime" runtime.variants[0].attributes == attributes2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 14.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractConfigurationMetadata.java
this.externalVariant = externalVariant; } @Override public DisplayName asDescribable() { return Describables.of(componentId, "configuration", name); } @Override public String toString() { return asDescribable().getDisplayName(); } @Override public String getName() { return name; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/AmbiguousArtifactTransformFailureDescriber.java
TransformedVariant::getRoot, () -> new TreeMap<>(Comparator.comparing(variant -> variant.asDescribable().getDisplayName())), Collectors.collectingAndThen(Collectors.toList(), list -> list.stream().sorted(variantComparator).collect(Collectors.toList())))); formatter.startChildren();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 13:08:22 UTC 2024 - 4.8K bytes - Viewed (0)