- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,533 for varints (0.09 sec)
-
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) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolver.java
ComponentWalker.walkComponent(root, componentsMap, (variant, coordinates) -> { if (result.put(variant.getName(), coordinates) != null) { throw new InvalidUserDataException(String.format( "Found multiple variants with name '%s' in component '%s' of project '%s'", variant.getName(), root.getName(), identityPath ));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 17.6K bytes - Viewed (0) -
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/jvm/plugins-jvm-test-fixtures/src/testFixtures/groovy/org/gradle/java/fixtures/AbstractJavaProjectTestFixturesIntegrationTest.groovy
pom.scopes.isEmpty() and: "does not appear as a variant in Gradle Module metadata" GradleModuleMetadata gmm = new GradleModuleMetadata(file("build/repo/com/acme/root/1.3/root-1.3.module")) !gmm.variants.any { it.name == "testFixturesApiElements" } !gmm.variants.any { it.name == "testFixturesRuntimeElements" } gmm.variants.size() == 2 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 17 21:17:58 UTC 2023 - 15.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentAttributesRulesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:10:53 UTC 2024 - 16.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradleModuleMetadataParser.java
List<? extends MutableComponentVariant> variants = metadata.getMutableVariants(); if (variants == null || variants.isEmpty()) { return; } for (MutableComponentVariant variant : ImmutableList.copyOf(variants)) { AttributeValue<String> entry = variant.getAttributes().findEntry(MavenImmutableAttributesFactory.CATEGORY_ATTRIBUTE);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:07:04 UTC 2024 - 31.2K bytes - Viewed (0) -
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/LocalFileDependencyBackedArtifactSetCodec.kt
require(candidates.variants.size == 1) val variant = candidates.variants.first() return when (val spec = transforms[variant.attributes.asImmutable()]) { null -> { // no mapping for extension, so it can be discarded if (matchingOnArtifactFormat) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 17.5K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/jvm/internal/DefaultJvmPluginServicesTest.groovy
then: 1 * apiElements.getOutgoing() >> outgoing 1 * outgoing.getVariants() >> variants 1 * variants.maybeCreate('classes') >> variant 1 * variant.getAttributes() >> attrs 1 * variant.artifactsProvider(_) >> { def artifacts = it[0].create() assert artifacts.size() == 1 PublishArtifact artifact = artifacts[0]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_binary.adoc
This allows a multi-variant plugin that depends on other plugins to access their APIs, which are exclusively provided in their version-specific variants. This snippet makes the <<#plugin-with-variants,plugin variant `gradle7` defined above>> consume the matching variants of its dependencies on other multi-variant plugins: ==== include::sample[dir="snippets/developingPlugins/pluginWithVariants/kotlin",files="build.gradle.kts[tags=consume-plugin-variant]"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 29 02:31:44 UTC 2024 - 37.7K 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)