- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 85 for getVariant (0.14 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/LocalComponentGraphResolveStateFactoryTest.groovy
ConfigurationVariant variant1 = conf1.outgoing.getVariants().create("variant1") variant1.attributes.attribute(Attribute.of("foo1", String), "bar1") variant1.artifacts.add(Stub(PublishArtifact)) conf2.artifacts.add(Mock(PublishArtifact)) ConfigurationVariant variant2 = conf2.outgoing.getVariants().create("variant2")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolvedComponentResultSerializer.java
List<ResolvedVariantResult> allVariants = ((ResolvedComponentResultInternal) component).getAvailableVariants(); Set<ResolvedVariantResult> resolvedVariants = new HashSet<>(component.getVariants()); encoder.writeSmallInt(allVariants.size()); for (ResolvedVariantResult variant : allVariants) { resolvedVariantResultSerializer.write(encoder, variant);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/LazyRuleAwareWithBaseConfigurationMetadata.java
} return computedCapabilities; } @Override public Set<? extends VariantResolveMetadata> getVariants() { return ImmutableSet.of(new DefaultVariantMetadata(name, null, asDescribable(), getAttributes(), getArtifacts(), getCapabilities())); } @Override public DisplayName asDescribable() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/LenientPlatformResolveMetadata.java
throw new UnsupportedOperationException(); } @Override public ImmutableList<? extends ComponentVariant> getVariants() { return ImmutableList.of(); } @Override public ImmutableAttributesFactory getAttributesFactory() { return null; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:21:11 UTC 2024 - 7.7K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/ConfigurationPublications.java
/** * Returns the variants of this configuration, if any. */ NamedDomainObjectContainer<ConfigurationVariant> getVariants(); /** * Configures the variants of this configuration. */ void variants(Action<? super NamedDomainObjectContainer<ConfigurationVariant>> configureAction); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 08 17:57:43 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractRealisedModuleResolveMetadataSerializationHelper.java
} public void writeRealisedVariantsData(Encoder encoder, AbstractRealisedModuleComponentResolveMetadata transformed) throws IOException { encoder.writeSmallInt(transformed.getVariants().size()); for (ComponentVariant variant: transformed.getVariants()) { if (variant instanceof AbstractRealisedModuleComponentResolveMetadata.ImmutableRealisedVariantImpl) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 15.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy
} ResolvedVariantSet variantSetOf(List<ResolvedVariant> variants) { return Mock(ResolvedVariantSet) { asDescribable() >> Describables.of("mock producer") getVariants() >> variants getOverriddenAttributes() >> ImmutableAttributes.EMPTY } } private List<TransformedVariant> transformedVariants(List<ResolvedVariant> variants) {
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/internal/component/external/model/AbstractConfigurationMetadata.java
} @Override public ImmutableList<? extends ModuleComponentArtifactMetadata> getArtifacts() { return artifacts; } @Override public Set<? extends VariantResolveMetadata> getVariants() { return ImmutableSet.of(new DefaultVariantMetadata(name, getIdentifier(), asDescribable(), getAttributes(), getArtifacts(), getCapabilities())); } @Override
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/local/model/DefaultLocalConfigurationMetadata.java
return visible; } @Override public ImmutableAttributes getAttributes() { return attributes; } @Override public Set<LocalVariantMetadata> getVariants() { return variants; } @Override public boolean isCanBeConsumed() { return canBeConsumed; } @Override public boolean isDeprecated() {
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/publish/src/test/groovy/org/gradle/api/publish/internal/mapping/DefaultDependencyCoordinateResolverFactoryTest.groovy
ResolvedVariantResult rootVariant = Mock(ResolvedVariantResult) { getDisplayName() >> "conf" } ResolvedComponentResult root = Mock(ResolvedComponentResult) { getVariants() >> [rootVariant] getDependenciesForVariant(_) >> [] getDependencies() >> [] } Stub(Configuration) { getName() >> "conf"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 22:25:49 UTC 2023 - 9K bytes - Viewed (0)