- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for fromVariant (0.28 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DependencyResultSerializer.java
long fromVariant = decoder.readSmallLong(); byte resultByte = decoder.readByte(); if (resultByte == SUCCESSFUL) { long selectedId = decoder.readSmallLong(); long selectedVariantId = decoder.readSmallLong(); return new DetachedResolvedGraphDependency(requested, selectedId, null, null, constraint, fromVariant, selectedVariantId);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DetachedResolvedGraphDependency.java
this.failure = failure; this.constraint = constraint; this.fromVariant = fromVariant; this.targetVariant = targetVariant; } @Override public ComponentSelector getRequested() { return requested; } @Override public Long getSelected() { return selected; } @Override public ComponentSelectionReason getReason() {
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/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/StreamingResolutionResultBuilderTest.groovy
""" } private DependencyGraphEdge dep(DependencyGraphSelector selector, Long fromVariant, Long selectedId) { def edge = Stub(DependencyGraphEdge) _ * edge.selector >> selector _ * edge.selected >> selectedId _ * edge.failure >> null _ * edge.fromVariant >> fromVariant _ * edge.selectedVariant >> selectedId return edge }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:29:40 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolutionResultGraphBuilder.java
for (ResolvedGraphDependency d : dependencies) { DependencyResult dependencyResult; ResolvedVariantResult fromVariant = fromComponent.getVariant(d.getFromVariant()); if (fromVariant == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:30:13 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DependencyResultSerializerTest.groovy
def out = serializer.read(new InputStreamBackedDecoder(new ByteArrayInputStream(bytes.toByteArray())), [4L: requested], [:]) then: out.requested == requested out.failure == null out.fromVariant == 55L out.selected == 12L out.selectedVariant == 123L } def "serializes failed dependency result"() { def mid = DefaultModuleIdentifier.newId("x", "y")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/DefaultResolvedComponentResult.java
return selectedVariantsById.get(id); } public void associateDependencyToVariant(DependencyResult dependencyResult, ResolvedVariantResult fromVariant) { variantDependencies.put(fromVariant, dependencyResult); } /** * A recursive function that traverses the dependency graph of a given module and acts on each node and edge encountered. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.8K bytes - Viewed (0)