Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 754 for varints (0.59 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/DefaultLocalComponentGraphResolveState.java

                .stream()
                .flatMap(variant -> variant.prepareForArtifactResolution().getArtifactVariants().stream())
                .map(variant -> new DefaultResolvedVariantResult(
                    component.getId(),
                    Describables.of(variant.getName()),
                    component.getAttributeDesugaring().desugar(variant.getAttributes().asImmutable()),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:25:36 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedArtifactsApiIntegrationTest.groovy

      - Configuration ':a:default' variant v1:
          - Unmatched attribute:
              - Doesn't say anything about usage (required 'compile')
      - Configuration ':a:default' variant v2:
          - Unmatched attribute:
              - Doesn't say anything about usage (required 'compile')""")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/CachedCodePathComponentMetadataProcessorTest.groovy

            then: "the result should have the variant added by the rule"
            def variantsForGraphTraversal = result.variantsForGraphTraversal
            variantsForGraphTraversal.size() == ownVariants + 1
            def variant = variantsForGraphTraversal.find { it.name == "test" }
            variant != null
            "org.gradle.test" in variant.attributes.keySet().collect { it.name }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenModule.groovy

        /**
         * Define a variant with attributes. Variants are only published when using {@link #withModuleMetadata()}.
         */
        MavenModule variant(String variant, Map<String, String> attributes)
    
        /**
         * Define a variant with attributes. Variants are only published when using {@link #withModuleMetadata()}.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/design/gradle-module-metadata-latest-specification.md

    The following statements must hold for the variants:
    
    - Variant name must be unique per module
    - Each variant must have at least one attribute
    - Two variants cannot have the same attributes and capabilities
    - If there is at least one dependency in any variant, at least one must carry version information
    
    ### `attributes` value
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 16:14:11 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/VariantGraphResolveMetadata.java

    import java.util.List;
    import java.util.Set;
    
    /**
     * Immutable metadata for a component variant instance that is used to perform dependency graph resolution.
     *
     * <p>Note that this metadata does not provide any information about the available artifacts of this variants, as this may be expensive to resolve.
     * Information about the artifacts can be accessed via the methods of {@link ComponentGraphResolveState}.</p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractLazyModuleComponentResolveMetadata.java

            if (variantMetadataRules.getAdditionalVariants().isEmpty()) {
                return variants;
            }
            Map<String, VariantGraphResolveMetadata> variantsByName;
            ImmutableList.Builder<VariantGraphResolveMetadata> builder = new ImmutableList.Builder<>();
            if (variants.isPresent()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/design/gradle-module-metadata-1.0-specification.md

    - `buildId`: The buildId for the Gradle instance. A string
    
    ### `variants` value
    
    This value must contain an array with zero or more elements. Each element must be an object with the following values:
    
    - `name`: The name of the variant. A string. The name must be unique across all variants of the component.
    - `attributes`: optional. When missing the variant is assumed to have no attributes.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 23:32:14 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

    The only attribute distinguishing these variants is 'extra'. Add this attribute to the consumer's configuration to resolve the ambiguity:
      - Value: 'extra 2' selects variant: 'bar'
      - Value: 'extra' selects variant: 'foo'"""
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-metadataRule/tests/failRuntimeClasspathResolve.out

            The only attribute distinguishing these variants is 'org.gradle.native.architecture'. Add this attribute to the consumer's configuration to resolve the ambiguity:
              - Value: 'x86-64' selects variant: 'natives-windows-runtime'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 820 bytes
    - Viewed (0)
Back to top