- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 286 for newId (0.04 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilderTest.groovy
} } def configurationsProvider = Stub(ConfigurationsProvider) ProjectStateRegistry projectStateRegistry = Mock() def mid = DefaultModuleIdentifier.newId('foo', 'bar') def builderFactory = new DefaultRootComponentMetadataBuilder.Factory( metaDataProvider, componentIdentifierFactory, moduleIdentifierFactory, projectStateRegistry,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 16:00:57 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencyResolveDetails.java
// If the current target is a project component, it must be unmodified from the requested ModuleComponentSelector newTarget = DefaultModuleComponentSelector.newSelector(DefaultModuleIdentifier.newId(requested.getGroup(), requested.getName()), useVersion); delegate.useTarget(newTarget, selectionReason); } } delegate.artifactSelection(artifactSelectionAction);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/LocalComponentGraphResolveStateFactoryTest.groovy
*/ class LocalComponentGraphResolveStateFactoryTest extends AbstractProjectBuilderSpec { ModuleVersionIdentifier id = DefaultModuleVersionIdentifier.newId("group", "module", "version") ModuleComponentIdentifier componentIdentifier = DefaultModuleComponentIdentifier.newId(id) def metadataBuilder = new DefaultLocalConfigurationMetadataBuilder( new TestDependencyMetadataFactory(),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/HtmlDependencyVerificationReportRendererTest.groovy
return new ModuleComponentFileArtifactIdentifier( DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId(group, name), version), fileName ) } private void generateReport() { currentReportFile = renderer.writeReport()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 14.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/DefaultLibraryComponentSelectorTest.groovy
boolean matches = defaultBuildComponentSelector.matchesStrictly(new DefaultModuleComponentIdentifier(DefaultModuleIdentifier.newId('group', 'name'), '1.0')) then: assert !matches } def "matches id (#projectPath1,#libraryName1, #variant1) with (#projectPath2,#libraryName2, #variant2)"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 7.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/LenientPlatformGraphResolveState.java
String componentVersion = selected.getId().getVersion(); for (String target : candidateVersions) { ModuleComponentIdentifier leafId = DefaultModuleComponentIdentifier.newId(module.getId(), target); ModuleComponentSelector leafSelector = DefaultModuleComponentSelector.newSelector(module.getId(), target);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 17:38:42 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentIdentifierSerializerTest.groovy
} def "serializes ModuleComponentIdentifier"() { given: ModuleComponentIdentifier identifier = new DefaultModuleComponentIdentifier(DefaultModuleIdentifier.newId('group-one', 'name-one'), 'version-one') when: ModuleComponentIdentifier result = serialize(identifier, serializer) then: result.group == 'group-one'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/simple/DefaultCompositeExcludeTest.groovy
} private String randomModuleName() { MODULES[random.nextInt(MODULES.length)] } private ModuleIdentifier randomModuleId() { DefaultModuleIdentifier.newId(randomGroupName(), randomModuleName()) } private IvyArtifactName randomArtifactName() { ARTIFACTS[random.nextInt(ARTIFACTS.length)] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ModuleComponentSelectorSerializer.java
ImmutableAttributes attributes = readAttributes(decoder); List<Capability> capabilities = readCapabilities(decoder); return newSelector(DefaultModuleIdentifier.newId(group, name), versionConstraint, attributes, capabilities); } public VersionConstraint readVersionConstraint(Decoder decoder) throws IOException { String required = decoder.readString();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleComponentResolveMetadataSerializer.java
String group = decoder.readString(); String module = decoder.readString(); String version = decoder.readString(); ModuleIdentifier moduleIdentifier = DefaultModuleIdentifier.newId(group, module); return new DefaultVirtualModuleComponentIdentifier(moduleIdentifier, version); } @Override public void write(Encoder encoder, ModuleComponentResolveMetadata value) throws Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8K bytes - Viewed (0)