Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 367 for Variant (0.13 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentAttributesRulesIntegrationTest.groovy

        }
    
        static String testedVariant() {
            def variant
            if (GradleMetadataResolveRunner.gradleMetadataPublished) {
                variant = 'api'
            } else {
                if (GradleMetadataResolveRunner.useIvy()) {
                    variant = 'default'
                } else {
                    variant = 'compile'
                }
            }
            variant
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            def variantDef = publications.variants.create("child")
            variantDef.attributes.attribute(Attribute.of("thing", String), "value")
            variantDef.artifacts.add(artifact)
    
            expect:
            def variants = getOutgoingVariants(publications)
            variants.size() == 1
    
            def child = variants.first()
            child.displayName.displayName == '<config> variant child'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. 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)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractMutableModuleComponentResolveMetadata.java

                return variants;
            }
            ImmutableList.Builder<ComponentVariant> builder = new ImmutableList.Builder<>();
            if (variants != null) {
                builder.addAll(variants);
            }
            for (MutableComponentVariant variant : newVariants) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskIntegrationTest.groovy

    project :A FAILED
       Failures:
          - Could not resolve project :A.
            Creating consumable variants is explained in more detail at https://docs.gradle.org/${GradleVersion.current().version}/userguide/declaring_dependencies.html#sec:resolvable-consumable-configs.
              - Unable to find a matching variant of project :A:
                  - No variants exist.
    
    project :A FAILED
    \\--- conf
    """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 15:15:56 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/attributes.mlir

      func.return
    }
    
    // CHECK-LABEL: func @variant
    func.func @variant(%arg: tensor<!tf_type.variant>) {
      // CHECK: tf.ZerosLike
      // CHECK-SAME: T = !corert.variant
      %0 = "tf.ZerosLike"(%arg) {device = "/device:CPU:0", T = !tf_type.variant} : (tensor<!tf_type.variant>) -> tensor<!tf_type.variant>
      func.return
    }
    
    // Checks that TF quantized attrs are lowered to the corert types
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/IncompatibleGraphVariantsFailureDescriber.java

            if (failure.getRequestedAttributes().isEmpty()) {
                formatter.node("Unable to find a matching variant of " + targetVariantText);
            } else {
                formatter.node("No matching variant of " + targetVariantText + " was found. The consumer was configured to find " + describer.describeAttributeSet(failure.getRequestedAttributes().asMap()) + " but:");
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:02:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ComponentVariantIdentifier.java

    import org.gradle.api.artifacts.component.ComponentIdentifier;
    
    /**
     * Identifies a variant of a component by component identifier and variant name.
     *
     * @since 6.0
     */
    public interface ComponentVariantIdentifier {
    
        /**
         * Returns the component identifier.
         */
        ComponentIdentifier getId();
    
        /**
         * Returns the variant name.
         */
        String getVariantName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top