Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 442 for variants (0.13 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/IvyDependencyDescriptorTest.groovy

            def variant = Stub(VariantGraphResolveState)
            variant.toString() >> name
            variant.name >> name
            def configuration = Stub(ConfigurationGraphResolveState)
            component.getConfiguration(name) >> configuration
            configuration.name >> name
            configuration.toString() >> name
            configuration.asVariant() >> variant
            configuration.metadata >> metadata
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/native/swift_application_plugin.adoc

    [[sec:swift_application_task_variants]]
    === Variant-dependent Tasks
    
    The Swift Application Plugin creates tasks based on the variants of the application component.
    Read the <<building_swift_projects.adoc#sec:introducing_build_variants-swift,introduction to build variants>> for more information.
    The following diagram shows the relationship between variant-dependent tasks.
    
    .Swift Application Plugin variant-dependent task graph
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. 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)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenGradleModuleMetadataPublishIntegrationTest.groovy

            module.parsedModuleMetadata.variants.size() == 1
            def variant = module.parsedModuleMetadata.variants[0]
            variant.dependencies.size() == 3
    
            variant.dependencies[0].group == 'org'
            variant.dependencies[0].module == 'foo'
            variant.dependencies[0].version == '1.0'
            variant.dependencies[0].prefers == null
            variant.dependencies[0].strictly == '1.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java

            return conf;
        }
    
        /**
         * Ensures the target variant matches the request attributes and is consumable. This needs to be called
         * for variants that are selected by means other than attribute matching.
         *
         * Note: This does not need to be called for variants selected via attribute matching, since
         * attribute matching ensures selected variants are compatible with the requested attributes.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/fixtures/publish/ModuleVersionSpec.groovy

            def variant = variants.find { it.name == name }
            if (variant == null) {
                variant = new VariantMetadataSpec(name)
                variants << variant
            }
            spec.delegate = variant
            spec.resolveStrategy = Closure.DELEGATE_FIRST
            spec()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativePlatformSamplesIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def variants() {
            given:
            sample variants
    
            when:
            run "assemble"
    
            then:
            final debugX86 = executable(variants.dir.file("build/exe/main/x86/debug/main"))
            final releaseX86 = executable(variants.dir.file("build/exe/main/x86/release/main"))
            final debugX64 = executable(variants.dir.file("build/exe/main/x64/debug/main"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/dependency_management_terminology.adoc

    It may also fail if the variant selection result is ambiguous, meaning that Gradle does not have enough information to select one of multiple mutual exclusive variants.
    In that case, more information can be provided through <<#sub:terminology_attribute,variant attributes>>.
    Examples of variants each Java components typically offers are _api_ and _runtime_ variants.
    Others examples are JDK8 and JDK11 variants.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. 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)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/DefaultLocalComponentGraphResolveState.java

                .stream()
                .flatMap(variant -> variant.prepareForArtifactResolution().getArtifactVariants().stream())
                .map(variant -> new DefaultResolvedVariantResult(
                    component.getId(),
                    Describables.of(variant.getName()),
                    component.getAttributeDesugaring().desugar(variant.getAttributes().asImmutable()),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:25:36 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top