Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ThisBuildOnlySelectedVariantSerializer.java

            long instanceId = decoder.readSmallLong();
            VariantGraphResolveState variant = variants.get(instanceId);
            if (variant == null) {
                throw new IllegalStateException("No variant with id " + instanceId + " found.");
            }
            return variant;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

                }
                this.variants.each { variant ->
                    def actualVariant = actual.variants.find { it.name == variant.name }
                    if (!actualVariant) {
                        errors << "Expected variant name $variant, but wasn't found in: $actual.variants.name"
                    } else {
                        if (variant.attributes != actualVariant.attributes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
Back to top