Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for variant$it (0.13 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/CachedCodePathComponentMetadataProcessorTest.groovy

            and: "some variants in the component, or none"
            (0..<ownVariants).forEach {
                metadata.addVariant("variant$it", ImmutableAttributes.EMPTY)
            }
    
            and: "a rule that adds a variant to all components"
            metadataRuleContainer.addClassRule(
                new SpecConfigurableRule(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/GradleModuleMetadata.groovy

            }
            assert values.formatVersion == '1.1'
            assert values.createdBy.gradle.version == GradleVersion.current().version
            variants = (values.variants ?: []).collect { new Variant(it.name, it) }
        }
    
        @Nullable
        CreatedBy getCreatedBy() {
            def createdBy = values.createdBy
            if (createdBy == null) {
                return null
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_attributes.adoc

    This is typical of libraries published to external repositories.
    In this case, we know that even if we don't have an exact match (API), we can still compile against the runtime variant (it contains _more_ than what we need to compile but it's still ok to use).
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 18:51:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc

    ====
    
    The rule creates an `apiElements` variant based on the `compile` configuration and a `runtimeElements` variant based on the `default` configuration of each ivy module.
    For each variant, it sets the corresponding <<#sec:variant-aware-matching,Java ecosystem attributes>>.
    Dependencies and artifacts of the variants are taken from the underlying configurations.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy

            given:
            def variantSet = variantSetOf([variant, otherVariant])
            def selector = new AttributeMatchingArtifactVariantSelector(consumerProvidedVariantFinder, attributesSchema, attributesFactory, transformedVariantFactory, dependenciesResolverFactory, failureProcessor)
    
            when:
            def result = selector.select(variantSet, requestedAttributes, false, factory)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/VariantResolvingArtifactSet.java

                    return ResolvedArtifactSet.EMPTY;
                }
    
                ResolvedVariantSet variantSet = new DefaultResolvedVariantSet(componentId, producerSchema, overriddenAttributes, variants);
                return variantSelector.select(variantSet, spec.getRequestAttributes(), spec.getAllowNoMatchingVariants(), this::asTransformed);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top