Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for variants (0.3 sec)

  1. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/OutgoingVariantsReportTaskIntegrationTest.groovy

    Artifacts
        - $resultsBinPath (artifactType = directory)
    """)
            and:
            doesNotHaveLegacyLegend()
            hasSecondaryVariantsLegend()
        }
    
        def "reports outgoing variants of a Java Library with documentation including test data variants"() {
            buildFile << """
                plugins { id 'java-library' }
                java {
                    withJavadocJar()
                    withSourcesJar()
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

    The only attribute distinguishing these variants is 'extra'. Add this attribute to the consumer's configuration to resolve the ambiguity:
      - Value: 'extra 2' selects variant: 'bar'
      - Value: 'extra' selects variant: 'foo'"""
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionIntegrationTest.groovy

            outputContains("variants = [{artifactType=thing}, {artifactType=thing}, {artifactType=out}, {artifactType=out}, {artifactType=jar, org.gradle.status=release}]")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    If a binary variant cannot be built for any reason, then the link:{javadocPath}/org/gradle/nativeplatform/NativeBinarySpec.html[NativeBinarySpec] associated with that variant will not be `buildable`. It is possible to use this property to create a task to generate all possible variants on a particular machine.
    
    === Example: Building all possible variants
    
    [source.multi-language-sample,groovy]
    .build.gradle
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  5. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishJavaIntegTest.groovy

            outputContains("$silenceMethod(variant)")
            outputContains('Declares capability org:foo:1.0')
            outputContains("Variant runtimeElements")
            outputDoesNotContain("Variant apiElements")
            javaLibrary.assertPublished()
        }
    
        def "can ignore all publication warnings by variant name"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 49.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

            if (findingExternalVariants) {
                // There is a cycle in the external variants
                LOGGER.warn("Detecting cycle in external variants for :\n" + computePathToRoot());
                findingExternalVariants = false;
                return null;
            }
            findingExternalVariants = true;
            // An external variant must have exactly one outgoing edge
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithDependenciesIntegrationTest.groovy

            given:
            mavenHttpRepo.module("test", "test", "1.2")
                .adhocVariants()
                .variant('runtime', [color: 'blue'])
                .variant('test', [color: 'orange'])
                .withModuleMetadata()
                .publish()
                .allowAll()
    
            createDirs("a", "b")
            settingsFile << "include 'a', 'b'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 54.2K bytes
    - Viewed (0)
  8. src/cmd/internal/testdir/testdir_test.go

    	// Regexp to extract a single opcoded check
    	rxAsmCheck = regexp.MustCompile(reMatchCheck)
    
    	// List of all architecture variants. Key is the GOARCH architecture,
    	// value[0] is the variant-changing environment variable, and values[1:]
    	// are the supported variants.
    	archVariants = map[string][]string{
    		"386":     {"GO386", "sse2", "softfloat"},
    		"amd64":   {"GOAMD64", "v1", "v2", "v3", "v4"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    NOTE: If you publish your library and use test fixtures, but do not want to publish the fixtures, you can deactivate publishing of the _test fixtures variants_ as shown below.
    
    .Disable publishing of test fixtures variants
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/DependenciesAttributesIntegrationTest.groovy

        @Unroll("Selects variant #expectedVariant using custom attribute value #attributeValue")
        def "attribute value is used during selection"() {
            given:
            repository {
                'org:test:1.0' {
                    variant('api') {
                        attribute('custom', 'c1')
                    }
                    variant('runtime') {
                        attribute('custom', 'c2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 02:13:52 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top