Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for disambiguation (0.31 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/AttributeSelectionUtils.java

                // artifact repository. We always check whether the schema has a more strongly typed
                // version of an attribute and use that one instead to apply its disambiguation rules.
                Attribute<?> schemaAttribute = schema.getAttribute(extraAttribute.getName());
                if (schemaAttribute != null) {
                    extraAttributesArray[i] = schemaAttribute;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultAttributeMatcher.java

            // Often times, collections of candidates will themselves differ even though their attributes are the same.
            // Disambiguating two different candidate lists which map to the same attribute lists in reality performs
            // the same work, so instead we cache disambiguation results based on the attributes being disambiguated.
            // The result of this is a list of indices into the original candidate list from which the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependencyLockingState.java

        boolean mustValidateLockState();
    
        /**
         * Returns the set of locking constraints found.
         * Note that an empty set can mean either that lock state was not defined or that lock state is an empty set.
         * Disambiguation can be done by calling {@link #mustValidateLockState()}.
         *
         * @return The set of module versions to lock.
         * @see #mustValidateLockState()
         */
        Set<ModuleComponentIdentifier> getLockedDependencies();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/renderer/ConsoleConfigurationReportRenderer.java

            if (!attributesWithDisambiguationRules.isEmpty()) {
                printHeader(() -> message("Disambiguation Rules"));
                writeDescription("The following Attributes have disambiguation rules defined.");
                newLine();
                try {
                    depth++;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 16:17:12 UTC 2022
    - 18.3K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/TargetJvmVersionRulesTest.groovy

            8        | 10       | false
            8        | 11       | false
        }
    
        @Unroll("disamgiguates when consumer=#consumer and candidates=#candidates chooses=#expected")
        def "check disambiguation rules"() {
            MultipleCandidatesResult details = Mock()
    
            when:
            disambiguationRules.execute(details)
    
            then:
            1 * details.getCandidateValues() >> candidates
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 03 17:43:36 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultAttributeMatcherTest.groovy

            expect:
            matcher.matches([candidate1, candidate2, candidate3, candidate4, candidate5], requested, explanationBuilder) == [candidate1, candidate3, candidate4, candidate5]
        }
    
        def "applies disambiguation rules and selects intersection of best matches for each attribute"() {
            given:
            def matcher = new DefaultAttributeMatcher(schema)
    
            def usage = Attribute.of('usage', String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ClasspathDependenciesAttributesIntegrationTest.groovy

        def 'module metadata fetched through a settings useModule properly uses Java ecosystem'() {
            given:
    
            // Create module that will match only if compatibility and disambiguation rules are in place
            mavenRepo.module('test', 'dep', '1.0')
                .variant("runtime", ["org.gradle.usage": "java-runtime", 'org.gradle.dependency.bundling': 'embedded'])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/vendor/golang.org/x/text/internal/language/match.go

    					tt := t
    					for _, x := range list {
    						// We visit all entries for which the script was not
    						// defined, including the ones where the region was not
    						// defined. This allows for proper disambiguation within
    						// regions.
    						if x.flags&scriptInFrom == 0 && t.RegionID.Contains(Region(x.region)) {
    							tt.RegionID = Region(x.region)
    							tt.setUndefinedScript(Script(x.script))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top