Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ComponentSelectionMatchingSpec (0.37 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRules.java

            return new SpecRuleAction<>(ruleAction, Specs.satisfyAll());
        }
    
        static class ComponentSelectionMatchingSpec implements Spec<ComponentSelection> {
            final ModuleIdentifier target;
    
            private ComponentSelectionMatchingSpec(ModuleIdentifier target) {
                this.target = target;
            }
    
            @Override
            public boolean isSatisfiedBy(ComponentSelection selection) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRulesTest.groovy

            cause.notation == notation
        }
    
        def "ComponentSelectionSpec matches on group and name" () {
            def spec = new DefaultComponentSelectionRules.ComponentSelectionMatchingSpec(DefaultModuleIdentifier.newId(group, name))
            def candidate = Mock(ModuleComponentIdentifier) {
                1 * getGroup() >> "org.gradle"
                (0..1) * getModule() >> "api"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top