Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for closestMatch (0.28 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/PlatformSupport.java

                        // default to library
                        details.closestMatch(library);
                    } else if (candidateValues.contains(platform)) {
                        // default to normal platform when only platforms are available and nothing has been requested
                        details.closestMatch(platform);
                    }
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationAttributesResolveIntegrationTest.groovy

                    void execute(MultipleCandidatesDetails<Thing> details) {
                        for (Thing t: details.candidateValues) {
                            if (t.name == 'blue') {
                                details.closestMatch(t)
                                return
                            }
                        }
                    }
                }
    
                def flavor = Attribute.of('flavor', Thing)
                allprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 33.6K bytes
    - Viewed (0)
Back to top