- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 822 for varints (0.13 sec)
-
platforms/software/publish/src/main/java/org/gradle/api/publish/VersionMappingStrategy.java
@HasInternalProtocol public interface VersionMappingStrategy { /** * Configures the version mapping strategy for all variants * @param action the configuration action */ void allVariants(Action<? super VariantVersionMappingStrategy> action); /** * Configures the version mapping strategy for the variant which matches the provided * attribute value. * @param attribute the attribute to find
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/publishing_gradle_module_metadata.adoc
The following rules are enforced: * Variant names must be unique, * Each variant must have at least <<variant_attributes.adoc#variant_attributes,one attribute>>, * Two variants cannot have the <<variant_model.adoc#understanding-variant-selection,exact same attributes and capabilities>>, * If there are dependencies, at least one, across all variants, must carry <<rich_versions.adoc#rich-version-constraints,version information>>.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 18:45:05 UTC 2023 - 9.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/plugins/jvm/internal/JvmFeatureInternal.java
* * <p>Features are classified by their capabilities. Each variant of a feature provides at least * the same set of capabilities as the feature itself. Since all variants of a feature are derived * from the same sources, they all expose the same API or "content" and thus provide the same * capabilities. Some variants may expose additional capabilities than those of its owning feature, * for example with fat jars.</p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 8.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenJavaPlatformModule.groovy
super.assertPublished() // Verify Gradle metadata particulars assert mavenModule.parsedModuleMetadata.variants*.name as Set == ['apiElements', 'runtimeElements'] as Set assert mavenModule.parsedModuleMetadata.variant('apiElements').files.empty assert mavenModule.parsedModuleMetadata.variant('runtimeElements').files.empty // Verify POM particulars assert mavenModule.parsedPom.packaging == 'pom'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphSelectionCandidates.java
public interface GraphSelectionCandidates { /** * Returns the set of variants to select from during attribute matching, or an empty list of this * component does not support attribute matching. */ List<? extends VariantGraphResolveState> getVariantsForAttributeMatching(); /** * Returns the variant to use when attribute-based variant selection is not enabled. */ @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 1.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/GenerateGraphTask.groovy
type = "other" } String variants = result.variants.collect { variant -> "variant:${formatVariant(variant)}" }.join('@@') "[$type][id:${result.id}][mv:${result.moduleVersion}][reason:${formatReason(result.selectionReason as ComponentSelectionReasonInternal)}][$variants]" } protected String formatVariant(ResolvedVariantResult variant) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/software/publish/src/main/java/org/gradle/api/publish/internal/component/MavenPublishingAwareVariant.java
} } static ScopeMapping scopeForVariant(SoftwareComponentVariant variant) { if (variant instanceof MavenPublishingAwareVariant) { return ((MavenPublishingAwareVariant) variant).getScopeMapping(); } // TODO: Update native plugins to use maven-aware variants so we can remove this. String name = variant.getName(); if ("api".equals(name) || "apiElements".equals(name)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 2.1K bytes - Viewed (1) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/ModuleDependencyCapabilitiesHandler.java
import org.gradle.api.provider.Provider; import org.gradle.internal.HasInternalProtocol; /** * The capabilities requested for a dependency. This is used in variant-aware dependency * management, to select only variants which provide the requested capabilities. By * default, Gradle will only look for variants which provide the "implicit" capability, * which corresponds to the GAV coordinates of the component. If the user calls methods
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 08 17:57:43 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ClasspathDependenciesAttributesIntegrationTest.groovy
@RequiredFeature(feature = GradleMetadataResolveRunner.REPOSITORY_TYPE, value = "maven") def 'module metadata fetched through a settings useModule properly derives variants and subsequent project use of the dependency has access to derived variants'() { given: def module = mavenRepo.module('test', 'dep', '1.0').publish()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 7.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/VariantIdentityUniquenessVerifier.java
import java.util.List; import java.util.Objects; import java.util.stream.Collectors; /** * Static utility to verify a set of variants each have a unique identity in terms of attributes and capabilities. */ public class VariantIdentityUniquenessVerifier { /** * Build a report of all possible variant uniqueness failures for the given configurations. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 05 20:59:50 UTC 2024 - 7.4K bytes - Viewed (0)