- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for componentResult (0.39 sec)
-
subprojects/core-api/src/main/java/org/gradle/api/artifacts/result/ComponentResult.java
*/ package org.gradle.api.artifacts.result; import org.gradle.api.artifacts.component.ComponentIdentifier; /** * The result of resolving a component. * * @since 2.0 */ public interface ComponentResult { /** * <p>Returns the identifier of this component. This can be used to uniquely identify the component within the current build, but it is not necessarily unique between * different builds. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Oct 28 14:22:52 UTC 2018 - 1.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-walkGraph/kotlin/build.gradle.kts
val componentResult: ResolvedComponentResult = result.selected val componentIdentifier: ComponentIdentifier = componentResult.id val node: String = "${calculateIndentation(level)}- ${componentIdentifier.displayName} (${componentResult.selectionReason})" logger.quiet(node) traverseDependencies(level + 1, componentResult.dependencies)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/DefaultArtifactResolutionResult.java
import org.gradle.api.artifacts.result.ComponentResult; import java.util.LinkedHashSet; import java.util.Set; public class DefaultArtifactResolutionResult implements ArtifactResolutionResult { private final Set<ComponentResult> componentResults; public DefaultArtifactResolutionResult(Set<ComponentResult> componentResults) { this.componentResults = componentResults; } @Override
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/integTest/groovy/org/gradle/integtests/resolve/JvmLibraryArtifactResolveTestFixture.groovy
// Check generic component result def componentResult = result.components.iterator().next() assert componentResult.id.displayName == "${id.displayName}" assert componentResult.id.group == "${id.group}" assert componentResult.id.module == "${id.module}" assert componentResult.id.version == "${id.version}" assert componentResult instanceof ComponentArtifactsResult
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-walkGraph/groovy/build.gradle
ResolvedComponentResult componentResult = result.selected ComponentIdentifier componentIdentifier = componentResult.id String node = calculateIndentation(level) + "- $componentIdentifier.displayName ($componentResult.selectionReason)" logger.quiet node traverseDependencies(level + 1, componentResult.dependencies)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/MetadataArtifactResolveTestFixture.groovy
} private String createComponentResultVerificationCode() { """ // Check generic component result def componentResult = result.components.iterator().next() assert componentResult.id.displayName == '$id.displayName' assert componentResult instanceof $expectedComponentResult.name """ } private String createUnresolvedComponentResultVerificationCode() { """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/result/ArtifactResolutionResult.java
* * @since 2.0 */ public interface ArtifactResolutionResult { /** * <p>Return a set of {@link ComponentResult} instances representing all requested components. * * <p>Each element in the returned set is declared as an opaque {@link ComponentResult}. * However each element in the result will also implement one of the following interfaces:</p> * * <ul>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 10 09:42:35 UTC 2018 - 1.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/query/DefaultArtifactResolutionQueryTest.groovy
then: result result.components.size() == 1 def componentResult = result.components.iterator().next() componentResult.id.displayName == componentIdentifier.displayName componentResult instanceof UnresolvedComponentResult UnresolvedComponentResult unresolvedComponentResult = (UnresolvedComponentResult) componentResult unresolvedComponentResult.failure instanceof IllegalArgumentException
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 19:46:40 UTC 2024 - 8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/query/DefaultArtifactResolutionQuery.java
DefaultComponentArtifactsResult componentResult = new DefaultComponentArtifactsResult(componentState.getId()); for (Class<? extends Artifact> artifactType : artifactTypes) { addArtifacts(componentResult, artifactType, componentState, moduleResolveResult.getModuleVersionId(), artifactResolver); } return componentResult; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 17:38:42 UTC 2024 - 12K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/result/UnresolvedComponentResult.java
* limitations under the License. */ package org.gradle.api.artifacts.result; /** * A component that could not be resolved. * * @since 2.0 */ public interface UnresolvedComponentResult extends ComponentResult { /** * Returns the failure that occurred when trying to resolve the component. */ Throwable getFailure();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 10 09:42:35 UTC 2018 - 920 bytes - Viewed (0)