Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,195 for Variant (0.34 sec)

  1. 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)
  2. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishFeaturesJavaPluginIntegTest.groovy

            then:
            javaLibrary.parsedModuleMetadata.variant("apiElements") {
                noMoreDependencies()
            }
            javaLibrary.parsedModuleMetadata.variant("runtimeElements") {
                noMoreDependencies()
            }
            javaLibrary.parsedModuleMetadata.variant("featureApiElements") {
                noMoreDependencies()
            }
            javaLibrary.parsedModuleMetadata.variant("featureRuntimeElements") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 02 01:52:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppApplicationProjectIntegrationTest.groovy

        }
    
        @Override
        String getIdeBuildTaskName(String variant) {
            return "install${variant.capitalize()}"
        }
    
        @Override
        List<String> getTasksToBuildFromIde(String variant) {
            return [":compile${variant.capitalize()}Cpp", ":link${variant.capitalize()}", ":install${variant.capitalize()}"]
        }
    
        @Override
        String getVisualStudioProjectName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/VariantsDependencySubstitutionRulesIntegrationTest.groovy

                    }
                }
            }
    
            where:
            notation << [
                'platform(module("org:lib:1.0"))',
                'variant(platform(module("org:lib:1.0"))) { }',
                'variant(module("org:lib:1.0")) { platform() }',
                'variant(module("org:lib:1.0")) { attributes { attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.REGULAR_PLATFORM)) } }',
            ]
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/CachingDependencyResultFactoryTest.groovy

            def differentFrom = factory.createResolvedDependency(selector('requested'), newModule('xxx'), selectedModule, variant, false)
            def differentSelected = factory.createResolvedDependency(selector('requested'), fromModule, newModule('xxx'), variant, false)
            def differentConstraint = factory.createResolvedDependency(selector('requested'), fromModule, selectedModule, variant, true)
    
            then:
            dep.is(same)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/component_metadata_rules.adoc

    ====
    
    == Making variants published as classified jars explicit ==
    
    While in the previous example, all variants, "main variants" and optional features, were packaged in one jar file, it is common to publish certain variants as separate files.
    In particular, when the variants are mutual exclusive — i.e. they are *not* feature variants, but different variants offering alternative choices.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/util/proxyconfig.go

    		pc := &meshconfig.ProxyConfig{}
    		if err := protomarshal.ApplyYAML(v, pc); err == nil {
    			if pc.GetImage().GetImageType() != "" {
    				variant = pc.GetImage().GetImageType()
    			}
    		}
    	}
    	if variant == "default" {
    		variant = ""
    	}
    	return variant
    }
    
    func NewEffectiveProxyConfigResolver(c analysis.Context) *EffectiveProxyConfigResolver {
    	mc := &meshconfig.MeshConfig{}
    	rootNamespace := ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 21:07:52 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_attributes.adoc

    // limitations under the License.
    
    [[variant_attributes]]
    = Working with Variant Attributes
    
    As explained in the section on <<variant_model.adoc#sec:variant-aware-matching,variant aware matching>>, attributes give semantics to variants and are used by Gradle's dependency management engine to select the best matching variant.
    
    As a user of Gradle, attributes are often hidden as implementation details.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 18:51:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir

        %2 = "tf.Identity"(%1) : (tensor<!tf_type.variant<tensor<f32>>>) -> (tensor<!tf_type.variant<tensor<f32>>>)
        "tf.Identity"(%2) : (tensor<!tf_type.variant<tensor<f32>>>) -> (tensor<!tf_type.variant<tensor<f32>>>)
        tf_device.return
      }) {cluster_attr = "cluster_attr"} : () -> ()
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 16:22:32 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/ResolutionCandidateAssessor.java

        }
    
        public List<AssessedCandidate> assessResolvedVariants(List<? extends ResolvedVariant> resolvedVariants) {
            return resolvedVariants.stream()
                .map(variant -> assessCandidate(variant.asDescribable().getCapitalizedDisplayName(), variant.getCapabilities(), variant.getAttributes().asImmutable()))
                .sorted(Comparator.comparing(AssessedCandidate::getDisplayName))
                .collect(Collectors.toList());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top