- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,423 for varints (0.31 sec)
-
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishCustomComponentIntegTest.groovy
publishedModule.parsedPom.scopes.isEmpty() publishedModule.parsedModuleMetadata.variants*.name == ["usage"] with(publishedModule.parsedModuleMetadata.variant("usage")) { variant -> variant.files.empty variant.dependencies.empty variant.availableAt.coords == 'org.gradle.test:nested:1.9-SNAPSHOT' variant.availableAt.url == "../../nested/1.9-SNAPSHOT/nested-1.9-SNAPSHOT.module" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactSelectionIntegrationTest.groovy
println "variants: " + artifacts.collect { it.variant.attributes } } } """ when: run 'show' then: outputContains("files: [a2.jar]") outputContains("variants: [{artifactType=jar, buildType=profile, flavor=tasty, usage=api}]") } def "applies producer's disambiguation rules when selecting variant"() { buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 34.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/dependency_management_terminology.adoc
It may also fail if the variant selection result is ambiguous, meaning that Gradle does not have enough information to select one of multiple mutual exclusive variants. In that case, more information can be provided through <<#sub:terminology_attribute,variant attributes>>. Examples of variants each Java components typically offers are _api_ and _runtime_ variants. Others examples are JDK8 and JDK11 variants.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 18:45:05 UTC 2023 - 11.5K bytes - Viewed (0) -
platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/ModuleMetadataSpecBuilder.java
for (SoftwareComponentVariant variant : softwareComponent.getUsages()) { checkVariant(variant); variants.add(dependencyCoordinateResolverFactory.createCoordinateResolvers(variant, versionMappingStrategy).map(resolvers -> new ModuleMetadataSpec.LocalVariant( variant.getName(), attributesFor(variant.getAttributes()),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:07:04 UTC 2024 - 23K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/ConfigurationPublications.java
* <p>You can use this interface to associate artifacts with a configuration using the {@link #artifact(Object)} methods. You can also define several variants of the configuration's artifacts. Each variant represents a set of artifacts that form some mutually exclusive usage of the component.</p> * * <p>An implicit variant is defined for a configuration whenever any artifacts are attached directly to this object or inherited from another configuration.</p> *
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/api/internal/artifacts/transform/ConsumerProvidedVariantFinder.java
/** * Constructs a complete cacheable variant chain given a root transformed variant and the chain of variants * to apply to that root variant. * * @param stateChain The transform chain from the search state to apply to the root transformed variant. * @param root The root variant to apply the chain to. * * @return A variant chain representing the final transformed variant. */
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/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithBothLinkagePublishingIntegrationTest.groovy
mainMetadata.variants.size() == 9 def api = mainMetadata.variant("api") api.dependencies.empty api.files.size() == 1 api.files[0].name == 'cpp-api-headers.zip' api.files[0].url == 'test-1.2-cpp-api-headers.zip' mainMetadata.variant("debugSharedLink").availableAt.coords == "some.group:test_debug_shared:1.2"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 10.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java
return conf; } /** * Ensures the target variant matches the request attributes and is consumable. This needs to be called * for variants that are selected by means other than attribute matching. * * Note: This does not need to be called for variants selected via attribute matching, since * attribute matching ensures selected variants are compatible with the requested attributes. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 17.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy
} @Override MavenModule adhocVariants() { variants.clear() this } private VariantMetadataSpec createVariant(String variant, Map<String, String> attributes) { def variantMetadata = new VariantMetadataSpec(variant, attributes) variants.removeAll { it.name == variant } variants.add(variantMetadata) return variantMetadata }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 29.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/DefaultLocalComponentGraphResolveState.java
.stream() .flatMap(variant -> variant.prepareForArtifactResolution().getArtifactVariants().stream()) .map(variant -> new DefaultResolvedVariantResult( component.getId(), Describables.of(variant.getName()), component.getAttributeDesugaring().desugar(variant.getAttributes().asImmutable()),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:25:36 UTC 2024 - 20.3K bytes - Viewed (0)