Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 413 for Variant (0.13 sec)

  1. platforms/jvm/java-platform/src/test/java/org/gradle/internal/component/model/JavaEcosystemAttributeMatcherTest.groovy

         * represents the attributes of the implicit variant. Any further elements of the inner array are explicit
         * sub-variants. The outer array is the collection of all consumable configurations being tested.
         *
         * @param candidates All configurations and their variants being matched against.
         * @param requested The requested attributes.
         *
         * @return The single matched variant.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/language/language.go

    	return Region{r.regionID.Canonicalize()}
    }
    
    // Variant represents a registered variant of a language as defined by BCP 47.
    type Variant struct {
    	variant string
    }
    
    // ParseVariant parses and returns a Variant. An error is returned if s is not
    // a valid variant.
    func ParseVariant(s string) (Variant, error) {
    	v, err := language.ParseVariant(s)
    	return Variant{v.String()}, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolver.java

                ComponentWalker.walkComponent(root, componentsMap, (variant, coordinates) -> {
                    if (result.put(variant.getName(), coordinates) != null) {
                        throw new InvalidUserDataException(String.format(
                            "Found multiple variants with name '%s' in component '%s' of project '%s'",
                            variant.getName(), root.getName(), identityPath
                        ));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/publishing_customization.adoc

    ====
    
    First we use the factory to create a new adhoc component.
    Then we add a variant through the `addVariantsFromConfiguration` method, which is described in more detail in the <<sec:adding-variants-to-existing-components,previous section>>.
    
    In simple cases, there's a one-to-one mapping between a `Configuration` and a variant, in which case you can publish all variants issued from a single `Configuration` because they are effectively the same thing.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/AbstractDependencyMetadataRulesIntegrationTest.groovy

        }
    
        def "attribute matching is used to select a variant of the dependency's target if the dependency was added by a rule"() {
            given:
            repository {
                'org.test:moduleA:1.0' {
                    dependsOn 'org.test:moduleB:1.0'
                }
                'org.test:moduleB:1.0' {
                    variant 'customVariant', [format: 'custom']
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 36.5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy

        }
    
        @Override
        IvyFileModule variant(String variant, Map<String, String> attributes) {
            createVariant(variant, attributes)
            return this
        }
    
        private VariantMetadataSpec createVariant(String variant, Map<String, String> attributes) {
            def variantMetadata = new VariantMetadataSpec(variant, attributes)
            variants.add(variantMetadata)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_binary.adoc

    This allows a multi-variant plugin that depends on other plugins to access their APIs, which are exclusively provided in their version-specific variants.
    
    This snippet makes the <<#plugin-with-variants,plugin variant `gradle7` defined above>> consume the matching variants of its dependencies on other multi-variant plugins:
    
    ====
    include::sample[dir="snippets/developingPlugins/pluginWithVariants/kotlin",files="build.gradle.kts[tags=consume-plugin-variant]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 29 02:31:44 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            "changing project library variant metadata"            | "-DprojectLibAttrValue=new-value"
            "changing unselected project library variant metadata" | "-DprojectUnselectedLibAttrValue=new-value"
            "changing included library variant metadata"           | "-DcompositeLibAttrValue=new-value"
            "changing external library variant metadata"           | "-DexternalLibAttrValue=new-value"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/DefaultArtifactVariantSelectorFactoryTest.groovy

        }
    
        def "returns no matching variant artifact set when no variants match and ignore no matching enabled"() {
            def variant1 = resolvedVariant()
            def variant2 = resolvedVariant()
            def set = resolvedVariantSet()
            def variants = [variant1, variant2] as Set
    
            given:
            set.schema >> producerSchema
            set.variants >> variants
            variant1.attributes >> typeAttributes("jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedArtifactsApiIntegrationTest.groovy

            failure.assertHasCause("""No matching variant of project :a was found. The consumer was configured to find attribute 'volume' with value '11' but:
      - Variant 'compile':
          - Incompatible because this component declares attribute 'volume' with value '8' and the consumer needed attribute 'volume' with value '11'""")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top