Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 442 for variants (0.32 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelector.java

     *
     * If no producer variant is compatible with the requested attributes, this selector will attempt to construct a chain of artifact
     * transforms that can produce a variant compatible with the requested attributes.
     *
     * An instance of {@link ResolutionFailureHandler} is injected in the constructor
     * to allow the caller to handle failures in a consistent manner as during graph variant selection.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 13:33:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/native/cpp_unit_test_plugin.adoc

    [[sec:cpp_unit_test_task_variants]]
    === Variant-dependent Tasks
    
    The {cpp} Unit Test Plugin creates tasks based on the variants of the unit test component.
    Read the <<building_cpp_projects.adoc#sec:introducing_build_variants-cpp,introduction to build variants>> for more information.
    The following diagrams show the relationship between variant-dependent tasks.
    
    .{cpp} Unit Test Plugin variant-dependent task graph
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

        }
    
        @Override
        MavenModule adhocVariants() {
            variants.clear()
            this
        }
    
        private VariantMetadataSpec createVariant(String variant, Map<String, String> attributes) {
            def variantMetadata = new VariantMetadataSpec(variant, attributes)
            variants.removeAll { it.name == variant }
            variants.add(variantMetadata)
            return variantMetadata
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinder.java

        /**
         * Constructs a complete cacheable variant chain given a root transformed variant and the chain of variants
         * to apply to that root variant.
         *
         * @param stateChain The transform chain from the search state to apply to the root transformed variant.
         * @param root The root variant to apply the chain to.
         *
         * @return A variant chain representing the final transformed variant.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. platforms/software/publish/src/test/groovy/org/gradle/api/publish/internal/metadata/GradleModuleMetadataWriterTest.groovy

            def childPublication = publication(childComponent, child1)
    
            def variant = Stub(UsageContext)
            variant.name >> "v1"
            variant.attributes >> attributes(usage: "compile")
    
            rootComponent.variants >> [childComponent]
            rootComponent.usages >> []
            childComponent.usages >> [variant]
    
            when:
            writeTo(writer, childPublication, [rootPublication, childPublication])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 36.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/MultipleVariantSelectionIntegrationTest.groovy

            failure.assertHasCause("""Multiple incompatible variants of org:test:1.0 were selected:
       - Variant api1 has attributes {custom=c1, org.gradle.status=${MultipleVariantSelectionIntegrationTest.defaultStatus()}}
       - Variant runtime2 has attributes {custom=c2, org.gradle.status=${MultipleVariantSelectionIntegrationTest.defaultStatus()}}""")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. 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)
  8. platforms/documentation/docs/src/docs/userguide/native/cpp_library_plugin.adoc

    [[sec:cpp_library_task_variants]]
    === Variant-dependent Tasks
    
    The {cpp} Library Plugin creates tasks based on variants of the library component.
    Read the <<building_cpp_projects.adoc#sec:introducing_build_variants-cpp,introduction to build variants>> for more information.
    The following diagrams show the relationship between variant-dependent tasks.
    
    .{cpp} Library Plugin variant-dependent task graph
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  9. 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)
  10. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/CrossVersionTestEngine.java

            List<TestVariant> variants = new ArrayList<TestVariant>();
            variants.add(TestVariant.tapiCurrent(rootId, discoveryRequest));
            variants.add(TestVariant.selected(rootId, discoveryRequest));
            variants.add(TestVariant.tapiTargetLoaded(rootId, discoveryRequest));
    
            return variants;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 13.4K bytes
    - Viewed (0)
Back to top