Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,421 for varints (0.2 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy

        def "expressing a preference for a variant with capabilities declared in a published modules does not evict unrelated variants"() {
            given:
            repository {
                'org:testB:1.0' {
                    variant('runtime') {
                        capability('org', 'testB', '1.0')
                    }
                    variant('runtimeAlt') {
                        capability('org', 'testB', '1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 07:37:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. 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)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/ComponentMetadataDetailsAdapterTest.groovy

            then: "attributes are used during matching, the rule is applied on all variants"
            2 * attributesRule.execute(_)
    
            and: " we only apply the dependencies rule to the selected variant"
            1 * dependenciesRule.execute(_)
            1 * constraintsRule.execute(_)
            0 * _
        }
    
        def "treats ivy configurations as variants"() {
            given:
            def rule = Mock(Action)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 20:17:51 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/ModuleMetadataSpec.java

     */
    public class ModuleMetadataSpec {
    
        final Identity identity;
        final List<Variant> variants;
        final boolean mustIncludeBuildId;
    
        ModuleMetadataSpec(
            Identity identity,
            List<Variant> variants,
            boolean mustIncludeBuildId
        ) {
            this.identity = identity;
            this.variants = variants;
            this.mustIncludeBuildId = mustIncludeBuildId;
        }
    
        static class Identity {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/writing-tasks/tasks-with-dependency-resolution-result-inputs/common/dependency-reports/src/main/java/com/example/ListResolvedArtifacts.java

                List<ResolvedVariantResult> variants = getArtifactVariants().get();
                List<RegularFile> files = getArtifactFiles().get();
                for (int index = 0; index < ids.size(); index++) {
                    ComponentArtifactIdentifier id = ids.get(index);
                    ResolvedVariantResult variant = variants.get(index);
                    RegularFile file = files.get(index);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. subprojects/core-api/src/main/java/org/gradle/api/attributes/Category.java

    /**
     * This attribute describes the categories of variants for a given module.
     * <p>
     * Four values are found in published components:
     * <ul>
     *     <li>{@code library}: Indicates that the variant is a library, that usually means a binary and a set of dependencies</li>
     *     <li>{@code platform}: Indicates that the variant is a platform, that usually means a definition of dependency constraints</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 30 17:48:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go

    				build.AddVariant(t.Variants())
    				exact = false
    				t = build.Make()
    			}
    			hasExtra = true
    		} else if _, ok := t.Extension('u'); ok {
    			// TODO: va may mean something else. Consider not considering it.
    			// Strip all but the 'va' entry.
    			old := t
    			variant := t.TypeForKey("va")
    			t = language.Tag{LangID: b, ScriptID: s, RegionID: r}
    			if variant != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithStaticLinkagePublishingIntegrationTest.groovy

            mainMetadata.variants.size() == 5
            def api = mainMetadata.variant("api")
            api.dependencies.empty
            api.files.size() == 1
            api.files[0].name == 'cpp-api-headers.zip'
            api.files[0].url == 'test-1.2-cpp-api-headers.zip'
            mainMetadata.variant("debugLink").availableAt.coords == "some.group:test_debug:1.2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top