- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 683 for varints (0.21 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/GradleModuleMetadata.groovy
} List<Variant> getVariants() { return variants } Variant variant(String name) { def matches = variants.findAll { it.name == name } assert matches.size() == 1 : "Variant '$name' not found in ${variants.name}" return matches.first() } Variant variant(String name, @DelegatesTo(value=Variant, strategy=Closure.DELEGATE_FIRST) Closure<Variant> action) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 20K bytes - Viewed (0) -
platforms/jvm/java-platform/src/test/java/org/gradle/internal/component/model/JavaEcosystemAttributeMatcherTest.groovy
* represents the attributes of the implicit variant. Any further elements of the inner array are explicit * sub-variants. The outer array is the collection of all consumable configurations being tested. * * @param candidates All configurations and their variants being matched against. * @param requested The requested attributes. * * @return The single matched variant. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 15.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy
def variant = variants.find { it.name == name } if (variant == null) { variant = createVariant(name, [:]) } action.resolveStrategy = Closure.DELEGATE_FIRST action.delegate = variant action() return this } @Override IvyModule withoutDefaultVariants() { variants.clear() return this }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyJavaModule.groovy
// Verify Gradle metadata particulars assert backingModule.parsedModuleMetadata.variants*.name as Set == ['apiElements', 'runtimeElements'] as Set assert backingModule.parsedModuleMetadata.variant('apiElements').files*.name == [backingModule.jarFile.name] assert backingModule.parsedModuleMetadata.variant('runtimeElements').files*.name == [backingModule.jarFile.name] } void assertNotPublished() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractRealisedModuleComponentResolveMetadata.java
if (variants.isEmpty()) { return maybeDeriveVariants(); } ImmutableList.Builder<ModuleConfigurationMetadata> configurations = new ImmutableList.Builder<>(); for (ComponentVariant variant : variants) { configurations.add(new RealisedVariantBackedConfigurationMetadata(getId(), variant, getAttributes(), getAttributesFactory())); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:21:11 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/IncompatibleGraphVariantsFailureDescriber.java
switch (failureSubType) { case NO_VARIANTS_EXIST: formatter.node("No variants exist."); break; case NO_VARIANTS_HAVE_ATTRIBUTES: formatter.node("None of the variants have attributes."); break; case NO_VARIANT_MATCHES_REQUESTED_ATTRIBUTES: // We're sorting the names of the configurations and later attributes
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:02:51 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/metadata/ProjectMetadataController.kt
suspend fun WriteContext.writeVariants(variants: Set<VariantResolveMetadata>) { writeCollection(variants) { writeVariant(it) } } private suspend fun WriteContext.writeVariant(variant: VariantResolveMetadata) { writeString(variant.name) write(variant.identifier) write(variant.attributes) writeCollection(variant.artifacts) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractMutableModuleComponentResolveMetadata.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 25.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/maven/RealisedMavenModuleResolveMetadata.java
boolean isExternalVariant ) { NameOnlyVariantResolveMetadata variant = new NameOnlyVariantResolveMetadata(configurationName); ImmutableAttributes variantAttributes = variantMetadataRules.applyVariantAttributeRules(variant, attributes); ImmutableCapabilities variantCapabilities = variantMetadataRules.applyCapabilitiesRules(variant, capabilities);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 19:13:04 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryConsumptionIntegrationTest.groovy
The only attribute distinguishing these variants is 'org.gradle.docstype'. Add this attribute to the consumer's configuration to resolve the ambiguity: - Value: 'javadoc' selects variant: 'javadocElements' - Value: 'sources' selects variant: 'sourcesElements'""" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 16:14:19 UTC 2024 - 4K bytes - Viewed (0)