- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 48 for VersionSelector (0.25 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ModuleSelectors.java
// Latest is only given priority if it's in a require return hasLatestSelector(vc.getRequiredSelector()); } private static boolean hasLatestSelector(@Nullable VersionSelector versionSelector) { return versionSelector instanceof LatestVersionSelector; } private Version requiredVersion(ResolvableSelectorState selector) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/VersionedComponentChooser.java
void selectNewestMatchingComponent(Collection<? extends ModuleComponentResolveState> versions, ComponentSelectionContext result, VersionSelector versionSelector, VersionSelector rejectedVersionSelector, ImmutableAttributes consumerAttributes); @Nullable RejectedByRuleVersion isRejectedComponent(ModuleComponentIdentifier candidateIdentifier, MetadataProvider metadataProvider);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/RepositoryChainDependencyToComponentIdResolver.java
dynamicRevisionResolver.add(repository); } @Override public void resolve(DependencyMetadata dependency, VersionSelector acceptor, @Nullable VersionSelector rejector, BuildableComponentIdResolveResult result) { ComponentSelector componentSelector = dependency.getSelector(); if (componentSelector instanceof ModuleComponentSelector) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/DescriptorParseContext.java
*/ package org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser; import org.gradle.api.artifacts.component.ModuleComponentIdentifier; import org.gradle.api.internal.artifacts.ivyservice.ivyresolve.strategy.VersionSelector; import org.gradle.api.internal.component.ArtifactType; import org.gradle.internal.component.external.model.ModuleDependencyMetadata; import org.gradle.internal.resource.local.LocallyAvailableExternalResource;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/ResolvableSelectorState.java
/** * Resolve the selector to a component identifier. */ ComponentIdResolveResult resolve(VersionSelector allRejects); /** * Resolve the prefer constraint of the selector to a component identifier. */ @Nullable ComponentIdResolveResult resolvePrefer(VersionSelector allRejects); /** * Mark the selector as resolved.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/DisconnectedDescriptorParseContext.java
*/ package org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser; import org.gradle.api.artifacts.component.ModuleComponentIdentifier; import org.gradle.api.internal.artifacts.ivyservice.ivyresolve.strategy.VersionSelector; import org.gradle.api.internal.component.ArtifactType; import org.gradle.internal.component.external.model.ModuleDependencyMetadata; import org.gradle.internal.resource.local.LocallyAvailableExternalResource; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolverResults.java
return dep.getSelector().matchesStrictly(candidate.getId()); } VersionSelector versionSelector = versionConstraint.getRequiredSelector(); if (versionSelector != null && (candidateIsFromLock || versionSelector.canShortCircuitWhenVersionAlreadyPreselected())) { if (candidateIsFromLock && versionSelector instanceof LatestVersionSelector) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 10K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/ProjectDependencyResolver.java
} @Override public ComponentMetaDataResolver getComponentResolver() { return this; } @Override public void resolve(DependencyMetadata dependency, VersionSelector acceptor, @Nullable VersionSelector rejector, BuildableComponentIdResolveResult result) { if (dependency.getSelector() instanceof DefaultProjectComponentSelector) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/ComponentResolversChain.java
this.resolvers = resolvers.toArray(new DependencyToComponentIdResolver[0]); } @Override public void resolve(DependencyMetadata dependency, VersionSelector acceptor, @Nullable VersionSelector rejector, BuildableComponentIdResolveResult result) { for (DependencyToComponentIdResolver resolver : resolvers) { if (result.hasResult()) { return;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/UnionVersionSelectorTest.groovy
private final VersionSelectorScheme versionSelectorScheme = new DefaultVersionSelectorScheme(new DefaultVersionComparator(), new VersionParser()) private final VersionParser parser = new VersionParser() private final List<VersionSelector> members = [] private final UnionVersionSelector union = new UnionVersionSelector(members) def "accept version '#candidate' with union of #selectors matches is #accept"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.4K bytes - Viewed (0)