Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 554 for SELECTION (0.19 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/artifacts/result/ComponentSelectionReason.java

         *
         * @return true if a dependency constraint influenced the selection of this component
         *
         * @since 4.6
         */
        boolean isConstrained();
    
        /**
         * Returns a list of descriptions of the causes that led to the selection of this component.
         *
         * @return the list of descriptions.
         *
         * @since 4.6
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Aug 28 21:50:20 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/ResolutionFailureHandler.java

    import java.util.Optional;
    import java.util.Set;
    
    /**
     * Provides a central location for handling failures encountered during
     * each stage of the variant selection process during dependency resolution.
     *
     * All variant selection failures encountered during selection by the {@link GraphVariantSelector} or
     * {@link AttributeMatchingArtifactVariantSelector}
     * should be routed through this class.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/VisitedArtifactSet.java

        /**
         * Creates a set that selects the artifacts from this set that match the given criteria.
         * Implementations are lazy, so that the selection happens only when the contents are queried.
         *
         * @param spec Parameters controlling the artifact selection process
         */
        SelectedArtifactSet select(ArtifactSelectionSpec spec);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 03:03:36 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/VisitedArtifactResults.java

         * The implementation should attempt to select artifacts eagerly, but may be lazy where
         * the selection cannot happen until the results are queried.
         *
         * @param variantSelector Performs variant selection
         * @param spec Governs how artifacts are selected
         * @param lenient If true, ignore artifacts that are resolved, but unavailable
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 21 03:08:51 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskIntegrationTest.groovy

                }
    
                configurations.compileClasspath.resolutionStrategy.componentSelection.all { ComponentSelection selection ->
                   if (selection.candidate.module == 'bar' && selection.candidate.version in ['1.2', '1.1']) {
                       selection.reject("version \${selection.candidate.version} is bad")
                   }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 15:15:56 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/artifacts/DependencySubstitution.java

         * @since 4.5
         */
        void useTarget(Object notation, String reason);
    
        /**
         * Configures the artifact selection for the substitution.
         * This is a convenience method which allows selecting, typically, different artifact classifiers
         * for the same component.
         *
         * Artifact selection matters for components which are not published with Gradle Module Metadata
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRules.java

                this.target = target;
            }
    
            @Override
            public boolean isSatisfiedBy(ComponentSelection selection) {
                return selection.getCandidate().getGroup().equals(target.getGroup()) && selection.getCandidate().getModule().equals(target.getName());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooserTest.groovy

            then:
            _ * componentSelectionRules.rules >> rules({ ComponentSelection selection ->
                if (selection.candidate.version != '1.3') {
                    selection.reject("rejected")
                }
            })
            1 * selectedComponentResult.getContentFilter() >> null
            1 * selectedComponentResult.notMatched(c.id, _)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutionSpec.groovy

            new DefaultDependencySubstitution(DependencyManagementTestUtil.componentSelectionDescriptorFactory(), componentSelector, artifacts)
        }
    
        def "can override target and selection reason for project"() {
            when:
            details.useTarget("org:foo:2.0", FORCED)
            details.useTarget("org:foo:3.0", SELECTED_BY_RULE)
    
            then:
            details.requested == componentSelector
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencyResolveDetailsSpec.groovy

            when:
            details.useVersion('5.0')
    
            then:
            details.target.toString() == 'com:bar:5.0'
        }
    
        def "can provide a custom selection reason with useTarget"() {
            def details = newDependencyResolveDetails("org", "foo", "1.0")
    
            when:
            details.because("forcefully upgrade dependency")
            details.useTarget("org:bar:2.0")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top