Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 516 for varints (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

            def variants = pluginModule.parsedModuleMetadata.variants
            variants.size() == 4
            variants[0].name == "apiElements"
            variants[0].attributes['color'] == 'blue'
            variants[1].name == "runtimeElements"
            variants[1].attributes['color'] == 'blue'
            variants[2].name == "alternateApiElements"
            variants[2].attributes['color'] == 'green'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. 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)
  7. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/MavenComponentParser.java

                .map(variant -> dependencyCoordinateResolverFactory
                    .createCoordinateResolvers(variant, versionMappingStrategy)
                    .map(resolvers -> getDependenciesForVariant(variant, resolvers, coordinates))
                ).collect(Collectors.toList());
    
            return new MergeProvider<>(parsedVariants).map(variants -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 18:52:27 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/native/xctest_plugin.adoc

    image::xctest-task-graph.png[]
    
    [[sec:xctest_task_variants]]
    === Variant-dependent Tasks
    
    The XCTest Plugin creates tasks based on the variants of the test component.
    Read the <<building_swift_projects.adoc#sec:introducing_build_variants-swift,introduction to build variants>> for more information.
    The following diagrams show the relationship between variant-dependent tasks.
    
    .XCTest Plugin variant-dependent task graph
    image::xctest-variant-task-graph.png[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/renderer/ConsoleConfigurationReportRenderer.java

            }
        }
    
        private void writeSecondaryVariants(List<ReportSecondaryVariant> variants) {
            if (!variants.isEmpty()) {
                newLine();
                printSection("Secondary Variants (*)", () -> {
                    variants.forEach(variant -> {
                        newLine();
                        writeSecondaryVariant(variant);
                    });
                });
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 16:17:12 UTC 2022
    - 18.3K bytes
    - Viewed (0)
  10. tools/docker-builder/types.go

    		if i.Name == n {
    			return &i
    		}
    	}
    	return nil
    }
    
    // Define variants, which control the base image of an image.
    // Tags will have the variant append (like 1.0-distroless).
    // The DefaultVariant is a special variant that has no explicit tag (like 1.0); it
    // is not a unique variant though. Currently, it represents DebugVariant.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top