- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for identityPath (0.15 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectSpec.groovy
def container = Mock(ProjectState) _ * container.projectPath >> (parent == null ? Path.ROOT : parent.projectPath.child(name)) _ * container.identityPath >> (parent == null ? build.identityPath : build.identityPath.append(parent.projectPath).child(name)) def descriptor = Mock(ProjectDescriptor) { getName() >> name getProjectDir() >> new File("project")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolverTest.groovy
registry.register(project.identityPath, publication, publication2, publication3, publication4) } class TestProjectPublicationRegistry implements ProjectPublicationRegistry { Map<Path, List<ProjectComponentPublication>> map = [:] void register(Path identityPath, ProjectComponentPublication... publications) { map.computeIfAbsent(identityPath, { [] }).addAll(publications) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 19 01:37:13 UTC 2023 - 15.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProjectStateRegistry.java
} } @Override public ProjectState stateFor(Path identityPath) { synchronized (lock) { ProjectStateImpl projectState = projectsByPath.get(identityPath); if (projectState == null) { throw new IllegalArgumentException(identityPath.getPath() + " not found."); } return projectState; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 21K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolver.java
return withCoordinateResolver(coordsType, identityPath, VariantCoordinateResolver::getComponentCoordinates ); } @Nullable @Override public <T> T resolveVariant(Class<T> coordsType, Path identityPath, String variantName) { return withCoordinateResolver(coordsType, identityPath, resolver ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 17.6K bytes - Viewed (0) -
platforms/software/publish/src/main/java/org/gradle/api/publish/internal/mapping/ResolutionBackedVariantDependencyResolver.java
} } private static class ProjectDependencyKey { private final Path identityPath; private final ModuleDependencyDetails details; public ProjectDependencyKey(Path identityPath, ModuleDependencyDetails details) { this.identityPath = identityPath; this.details = details; } @Override public boolean equals(Object o) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 22:25:49 UTC 2023 - 18.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectorSerializerTest.groovy
def selector = new DefaultProjectComponentSelector(new DefaultBuildIdentifier(path(":build")), identityPath, projectPath, projectName, AttributeTestUtil.attributes(foo: 'x', bar: 'y'), capabilities()) when: def result = serialize(selector, serializer) then: result.identityPath == selector.identityPath result.projectPath == selector.projectPath
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 11.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt
} override fun <T> resolveScriptsForProject(identityPath: Path, action: () -> T): T { return fingerprintWriter.runCollectingFingerprintForProject(identityPath, action) } override fun <T> runCollectingFingerprintForProject(identityPath: Path, action: () -> T): T { return fingerprintWriter.runCollectingFingerprintForProject(identityPath, action) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 18.3K bytes - Viewed (0) -
subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildRegistryTest.groovy
nestedBuild1.identityPath == Path.path(":buildSrc") def nestedBuild2 = registry.getBuildSrcNestedBuild(parent) // Shows current behaviour, not necessarily desired behaviour nestedBuild2.buildIdentifier == buildIdentifier(":parent:buildSrc") nestedBuild2.identityPath == Path.path(":parent:buildSrc") } def build(String name) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 14:36:04 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentIdentifierSerializer.java
Path identityPath = Path.path(decoder.readString()); return new DefaultProjectComponentIdentifier(buildIdentifier, identityPath, Path.ROOT, identityPath.getName()); } case OTHER_BUILD_PROJECT: { BuildIdentifier buildIdentifier = buildIdentifierSerializer.read(decoder); Path identityPath = Path.path(decoder.readString());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 12.1K bytes - Viewed (0) -
subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildRegistry.java
Path identityPath = assignPath(owner, buildDefinition.getName(), buildDefinition.getBuildRootDir()); BuildIdentifier buildIdentifier = idFor(identityPath); StandAloneNestedBuild build = buildStateFactory.createNestedBuild(buildIdentifier, identityPath, buildDefinition, owner); buildSrcBuildsByOwner.put(owner, build);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:19 UTC 2024 - 12.2K bytes - Viewed (0)