- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for UnversionedModuleComponentSelector (0.79 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/UnversionedModuleComponentSelector.java
import org.gradle.api.internal.attributes.ImmutableAttributes; import java.util.Collections; import java.util.List; class UnversionedModuleComponentSelector implements ComponentSelector { private final ModuleIdentifier moduleIdentifier; UnversionedModuleComponentSelector(ModuleIdentifier id) { this.moduleIdentifier = id; } public ModuleIdentifier getModuleIdentifier() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/ModuleSelectorStringNotationConverterTest.groovy
def "parses module identifier notation"() { expect: parser.parseNotation("org.gradle:gradle-core") == new UnversionedModuleComponentSelector(moduleIdentifierFactory.module("org.gradle", "gradle-core")) parser.parseNotation(" foo:bar ") == new UnversionedModuleComponentSelector(moduleIdentifierFactory.module("foo", "bar")) } def "parses module component identifier notation"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/ModuleSelectorStringNotationConverter.java
} String group = validate(split[0].trim(), notation); String name = validate(split[1].trim(), notation); if (split.length == 2) { return new UnversionedModuleComponentSelector(moduleIdentifierFactory.module(group, name)); } String version = split[2].trim(); if (!GUtil.isTrue(version)) { throw new UnsupportedNotationException(notation); }
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/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitution.java
return artifactSelectionDetails; } public static void validateTarget(ComponentSelector componentSelector) { if (componentSelector instanceof UnversionedModuleComponentSelector) { throw new InvalidUserDataException("Must specify version for target of dependency substitution"); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.4K bytes - Viewed (0)