- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for VersionSelector (0.35 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionSelector.java
import org.gradle.api.artifacts.ComponentMetadata; /** * Implementations of version selector are expected to be immutable and thread-safe. */ public interface VersionSelector { /** * Indicates if the given version selector is dynamic. */ boolean isDynamic(); /** * Indicates if module metadata is required to determine if the
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/DefaultVcsVersionWorkingDirResolver.java
String version = constraint.getRequiredVersion(); VersionSelector versionSelector = versionSelectorScheme.parseSelector(version); if (versionSelector instanceof LatestVersionSelector && ((LatestVersionSelector) versionSelector).getSelectorStatus().equals("integration")) { return repository.getDefaultBranch(); } if (versionSelector.requiresMetadata()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/CachingVersionSelectorScheme.java
versionSelector = delegate.parseSelector(selectorString); cachedSelectors.put(selectorString, versionSelector); } return versionSelector; } @Override public String renderSelector(VersionSelector selector) { return delegate.renderSelector(selector); } @Override public VersionSelector complementForRejection(VersionSelector selector) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionSelectorScheme.java
rangeSelector.isLowerInclusive() && rangeSelector.isUpperInclusive(); } @Override public String renderSelector(VersionSelector selector) { return selector.getSelector(); } @Override public VersionSelector complementForRejection(VersionSelector selector) { return new InverseVersionSelector(selector); } public static boolean isSubVersion(String selectorString) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/ComponentSelectionContext.java
*/ void rejectedBySelector(ModuleComponentIdentifier id, VersionSelector versionSelector); /** * Adds a candidate that matched the provided selector, but was rejected because it didn't match the consumer attributes. * @param rejectedVersion a version rejected by attribute matching */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 13 17:41:33 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/MavenVersionSelectorScheme.java
} @Override public String renderSelector(VersionSelector selector) { return toMavenSyntax(defaultVersionSelectorScheme.renderSelector(selector)); } @Override public VersionSelector complementForRejection(VersionSelector selector) { return defaultVersionSelectorScheme.complementForRejection(selector); } // TODO: VersionSelector should be more descriptive, so it can be directly translated
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/RejectedBySelectorVersion.java
public class RejectedBySelectorVersion extends RejectedVersion { private final VersionSelector rejectionSelector; public RejectedBySelectorVersion(ModuleComponentIdentifier id, VersionSelector rejectionSelector) { super(id); this.rejectionSelector = rejectionSelector; } public VersionSelector getRejectionSelector() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/InverseVersionSelector.java
public class InverseVersionSelector implements VersionSelector { private final VersionSelector versionSelector; public InverseVersionSelector(VersionSelector versionSelector) { this.versionSelector = versionSelector; } public VersionSelector getInverseSelector() { return versionSelector; } @Override public String getSelector() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/TestModuleSelectorState.java
} @Override public ComponentIdResolveResult resolve(VersionSelector allRejects) { requireResult = doResolve(resolvedVersionConstraint.getRequiredSelector(), allRejects, requireResult); return requireResult; } @Override public ComponentIdResolveResult resolvePrefer(VersionSelector allRejects) { VersionSelector preferredSelector = resolvedVersionConstraint.getPreferredSelector();
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/DynamicVersionResolver.java
repositories.add(repository); repositoryNames.add(repository.getName()); } public void resolve(ModuleDependencyMetadata dependency, VersionSelector versionSelector, @Nullable VersionSelector rejectedVersionSelector, AttributeContainer consumerAttributes, BuildableComponentIdResolveResult result) { ModuleComponentSelector requested = dependency.getSelector();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 13 17:41:33 UTC 2023 - 26.8K bytes - Viewed (0)