- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for disambiguation (0.29 sec)
-
subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ResolvableConfigurationsReportTaskIntegrationTest.groovy
Disambiguation Rules -------------------------------------------------- The following Attributes have disambiguation rules defined. - flavor""") and: doesNotHaveLegacyLegend() } def "disambiguation rules are printed if added to attributes"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 27.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_attributes.adoc
[[sec:abm_disambiguation_rules]] === Attribute disambiguation rules Since multiple values for an attribute can be _compatible_, Gradle needs to choose the "best" candidate between all compatible candidates. This is called "disambiguation". This is done by implementing an link:{javadocPath}/org/gradle/api/attributes/AttributeDisambiguationRule.html[attribute disambiguation rule].
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 18:51:23 UTC 2024 - 17.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/StronglyTypedConfigurationAttributesResolveIntegrationTest.groovy
failure.assertHasCause("Unexpected type for attribute 'flavor' provided. Expected a value of type Flavor but found a value of type java.lang.Integer.") } def "selects best compatible match using consumers disambiguation rules when multiple are compatible"() { given: createDirs("a", "b") file('settings.gradle') << "include 'a', 'b'" buildFile << """ $typeDefs
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 48.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/JavaEcosystemSupportTest.groovy
Usage.JAVA_RUNTIME | JavaEcosystemSupport.DEPRECATED_JAVA_RUNTIME_JARS | true } @Issue("gradle/gradle#8700") def "check usage disambiguation rules (consumer=#consumer, candidates=#candidates, selected=#preferred)"() { given: JavaEcosystemSupport.UsageDisambiguationRules rules = new JavaEcosystemSupport.UsageDisambiguationRules(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy
2 * attributeMatcher.matches(_, _, _) >> [variant, otherVariant] 2 * attributeMatcher.isMatching(_, _, _) >> true 0 * consumerProvidedVariantFinder._ } def 'does not perform schema disambiguation against a single transform result'() { given: def transformed = Mock(ResolvedArtifactSet) def variants = [variant] def transformedVariants = transformedVariants(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/PreferJavaRuntimeVariant.java
* * Gradle has long assumed that, by default, consumers of a maven repository require the _runtime_ variant * of the published library. * The following disambiguation rule encodes this assumption for the case where a java library is published * with variants using Gradle module metadata. This will allow us to migrate to consuming the new module
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactSelectionIntegrationTest.groovy
// Currently builds all file dependencies executed ":lib:classes", ":lib:utilClasses", ":lib:utilDir", ":lib:utilJar", ":ui:classes", ":app:resolve" } def "applies consumers compatibility and disambiguation rules when selecting variant"() { buildFile << """ class BuildTypeCompatibilityRule implements AttributeCompatibilityRule<String> { void execute(CompatibilityCheckDetails<String> details) {
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/optimizing-performance/build-cache/caching_android_projects.adoc
This is even more true for Android projects that include Kotlin source code (and therefore use the `kotlin-android` plugin). == Disambiguation This guide is about Gradle’s build cache, but you may have also heard about the https://developer.android.com/studio/build/build-cache[Android build cache]. These are different things.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 12:54:11 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc
- org.gradle.libraryelements - org.gradle.plugin.api-version - org.gradle.usage -------------------------------------------------- Disambiguation Rules -------------------------------------------------- Description = The following Attributes have disambiguation rules defined. - org.gradle.category - org.gradle.dependency.bundling - org.gradle.jvm.environment - org.gradle.jvm.version
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 34.2K bytes - Viewed (0) -
platforms/jvm/java-platform/src/test/java/org/gradle/internal/component/model/JavaEcosystemAttributeMatcherTest.groovy
import org.gradle.util.TestUtil import spock.lang.Specification /** * Tests attribute matching against configurations and their variants in the context of the JVM ecosystem. * Here, we apply the JVM ecosystem compatibility and disambiguation rules and verify that given a set of * requested attributes, the proper variant is selected. * <p> * This test aims to mirror the actual variant selection process within Gradle, specifically when one project
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 15.2K bytes - Viewed (0)