Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,533 for varints (0.34 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/VariantGraphResolveMetadata.java

    import java.util.List;
    import java.util.Set;
    
    /**
     * Immutable metadata for a component variant instance that is used to perform dependency graph resolution.
     *
     * <p>Note that this metadata does not provide any information about the available artifacts of this variants, as this may be expensive to resolve.
     * Information about the artifacts can be accessed via the methods of {@link ComponentGraphResolveState}.</p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publication/DefaultMavenPublicationTest.groovy

            artifact2.classifier >> ""
            artifact2.extension >> "jar"
            def variant1 = createVariant([artifact1], [], 'api')
            def variant2 = createVariant([artifact2], [], 'runtime')
            def component = Stub(SoftwareComponentInternal)
            component.usages >> [variant1, variant2]
            def mavenArtifact = Mock(MavenArtifact)
            mavenArtifact.file >> artifactFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:33:41 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ComponentMetadataDetails.java

        /**
         * Add a rule for adjusting an existing variant of the component.
         *
         * @param name name of the variant to adjust (e.g. 'compile')
         * @param action the action to modify the variant
         *
         * @since 4.4
         */
        void withVariant(String name, Action<? super VariantMetadata> action);
    
        /**
         * Add a rule for adjusting all variants of a component.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 5.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RootComponentResolutionIntegrationTest.groovy

                    def root = result.root
                    assert root.id.projectName == 'root'
                    assert root.variants.size() == 2
                    def conf = root.variants.find { it.displayName == 'conf' }
                    def other = root.variants.find { it.displayName == 'other' }
                    assert conf != null
                    assert other != null
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 23 22:33:17 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/img/cpp-application-variant-task-graph.png

    cpp-application-variant-task-graph.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaIntegTest.groovy

            }
            with(javaLibrary.parsedModuleMetadata) {
                assert variants.size() == 1
                assert variants[0].name == "apiElements"
                assert variants[0].dependencies*.coords == ["org:foo:1.0"]
            }
        }
    
        def "can ignore all publication warnings by variant name"() {
            given:
            def silenceMethod = "suppressPomMetadataWarningsFor"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractLazyModuleComponentResolveMetadata.java

            if (variantMetadataRules.getAdditionalVariants().isEmpty()) {
                return variants;
            }
            Map<String, VariantGraphResolveMetadata> variantsByName;
            ImmutableList.Builder<VariantGraphResolveMetadata> builder = new ImmutableList.Builder<>();
            if (variants.isPresent()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. 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)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/cross_project_publications.adoc

    ====
    
    What we have done here is that we have added a _new_ variant, which can be used _at runtime_, but contains instrumented classes instead of the normal classes.
    However, it now means that for runtime, the consumer has to choose between two variants:
    
    - `runtimeElements`, the regular variant offered by the `java-library` plugin
    - `instrumentedJars`, the variant we have created
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. 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)
Back to top