Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,195 for Variant (0.13 sec)

  1. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformTestFixture.groovy

        /**
         * Defines a 'blue' variant for the given module.
         */
        def <T extends MavenModule> T withColorVariants(T module) {
            module.adhocVariants().variant('runtime', [color: 'blue']).withModuleMetadata()
            return module
        }
    
        /**
         * Each project produces 'blue' variants and has a `resolve` task that resolves the 'green' variant. The 'blue' variant will contain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 15:06:39 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/RealisedVariantBackedConfigurationMetadata.java

            super(id, new ComponentAttributesAwareVariant(variant, attributesFactory, componentLevelAttributes), ((AbstractRealisedModuleComponentResolveMetadata.ImmutableRealisedVariantImpl)variant).getDependencyMetadata());
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/component/ConfigurationVariantMapping.java

                this.objectFactory = objectFactory;
            }
    
            @Override
            public ConfigurationVariant getConfigurationVariant() {
                return variant;
            }
    
            @Override
            public void skip() {
                skip = true;
            }
    
            @Override
            public void mapToOptional() {
                this.optional = true;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 19:31:52 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/component/MavenPublishingAwareVariant.java

            }
        }
    
        static ScopeMapping scopeForVariant(SoftwareComponentVariant variant) {
            if (variant instanceof MavenPublishingAwareVariant) {
                return ((MavenPublishingAwareVariant) variant).getScopeMapping();
            }
            // TODO: Update native plugins to use maven-aware variants so we can remove this.
            String name = variant.getName();
            if ("api".equals(name) || "apiElements".equals(name)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.1K bytes
    - Viewed (1)
  5. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/LanguageTaskNames.groovy

                String getCompile() {
                    return withProject("compile${buildType}${variant}${languageTaskSuffix}")
                }
    
                String getLink() {
                    return withProject("link${buildType}${variant}")
                }
    
                String getCreate() {
                    return withProject("create${buildType}${variant}")
                }
    
                String getInstall() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/CppUnitTestComponentWithStaticLibraryLinkageIntegrationTest.groovy

        }
    
        @Override
        protected List<String> getTasksToAssembleDevelopmentBinary(String variant) {
            return [":compileDebug${variant.capitalize()}Cpp", ":compileTest${variant.capitalize()}Cpp", ":linkTest${variant.capitalize()}", ":installTest${variant.capitalize()}", ":runTest${variant.capitalize()}"]
        }
    
        @Override
        String getTestedComponentDsl() {
            return "library"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. 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)
  8. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/mapping/ResolutionBackedVariantDependencyResolver.java

     *
     * <p>The configuration being resolved should declare the same dependencies as the variant
     * being published. Then, each outgoing edge of the analyzed resolution result will correspond
     * to each declared dependency on the published variant. We build a mapping from requested
     * coordinates to resolved coordinates. Then, when resolving individual variant coordinates,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/design/gradle-module-metadata-latest-specification.md

    The following statements must hold for the variants:
    
    - Variant name must be unique per module
    - Each variant must have at least one attribute
    - Two variants cannot have the same attributes and capabilities
    - If there is at least one dependency in any variant, at least one must carry version information
    
    ### `attributes` value
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 16:14:11 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportVariantDetailsIntegrationTest.groovy

        }
    
        def "shows published variant details"() {
            given:
            mavenRepo.with {
                def leaf = module('org.test', 'leaf', '1.0')
                    .withModuleMetadata()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top