Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 822 for varints (0.27 sec)

  1. platforms/jvm/plugins-java/src/main/java/org/gradle/jvm/component/internal/DefaultJvmSoftwareComponent.java

        // of its features. It should lazily react to the variants of the feature being added and configure
        // itself to in turn advertise those variants. However, this requires a more complete variant API,
        // which is still being designed. For now, we'll add the variants manually.
    
        @Override
        public void withJavadocJar() {
            JvmFeatureInternal feature = getMainFeature();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:18:02 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolutionResultGraphBuilder.java

            selectedVariants.put(id, variant);
        }
    
        @Override
        public void visitComponentVariants(List<ResolvedVariantResult> allVariants) {
            this.allVariants = ImmutableList.copyOf(allVariants);
        }
    
        @Override
        public void endVisitComponent() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/derived/JvmDerivedVariantsIntegrationTest.groovy

    package com.example;
    
    /**
    * Foo class.
    */
    public class Foo {
    
    }
    """
            using m2
            succeeds("publishToMavenLocal")
        }
    
        def "sources jar attributes match derived variants attributes"() {
            file("consumer/build.gradle") << """
    dependencies {
        implementation 'com.example:test:1.0'
    }
    
    task resolve {
        def artifacts = configurations.runtimeClasspath.incoming.artifactView {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 18 19:46:19 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/ComponentArtifactResolveState.java

     * <ul>
     *     <li>Select a variant of the component instance. The variant selected for artifact resolution may be different to that used for graph resolution,
     *     for example when using an {@link org.gradle.api.artifacts.ArtifactView} to select different variants.</li>
     *     <li>Determine how to produce the artifacts of the variant, for example by running a chain of transformers.</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ForceRealizedMetadataIntegrationTest.groovy

        }
    
        def "can resolve derived variants"() {
            transitive.adhocVariants().variant("jar", [
                    "org.gradle.category": "library",
                    "org.gradle.dependency.bundling": "external",
                    "org.gradle.usage": "java-runtime"
            ]) {
                artifact("transitive-1.0.jar")
            }
                    .variant("sources", [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/AmbiguousGraphVariantsFailureDescriber.java

                formatter.node("Cannot choose between the available variants of ");
            } else {
                String node = "The consumer was configured to find " + describer.describeAttributeSet(failure.getRequestedAttributes().asMap());
                if (listAvailableVariants) {
                    node = node + ". However we cannot choose between the following variants of ";
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/JavaEcosystemVariantDerivationStrategy.java

                return ImmutableList.of(
                    // When deriving variants for the Java ecosystem, we actually have 2 components "mixed together": the library and the platform
                    // and there's no way to figure out what was the intent when it was published. So we derive variants for both.
                    libraryCompileScope(compileConfiguration, attributes, attributesFactory),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/operations/dependencies/transforms/PlannedTransformStepIdentity.java

    import org.gradle.internal.taskgraph.NodeIdentity;
    import org.gradle.operations.dependencies.configurations.ConfigurationIdentity;
    import org.gradle.operations.dependencies.variants.Capability;
    import org.gradle.operations.dependencies.variants.ComponentIdentifier;
    
    import javax.annotation.Nullable;
    import java.util.List;
    import java.util.Map;
    
    /**
     * Identity of a transform step node in an execution plan.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenJavaModule.groovy

        }
    
        private static void assertAttributes(GradleModuleMetadata.Variant variant, Map<String, Object> expected) {
            assert variant.attributes.size() == expected.size()
            expected.each { attribute, value ->
                assert variant.attributes.containsKey(attribute)
                assert variant.attributes[attribute] == value
            }
        }
    
        void assertNoDependencies() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/BrokenResolvedArtifactSet.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact;
    
    /**
     * Represents an artifact that failed to resolve, for instance, no variant matched the requested attributes or
     * multiple variants matched the selected artifacts.
     */
    public class BrokenResolvedArtifactSet extends AbstractFailedResolvedArtifactSet {
    
        public BrokenResolvedArtifactSet(Throwable failure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top