Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 361 for flavor (0.1 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeComponentRules.java

            Set<? extends Flavor> allFlavors,
            NativeDependencyResolver nativeDependencyResolver,
            FileCollectionFactory fileCollectionFactory
        ) {
            Set<Flavor> targetFlavors = projectNativeComponent.chooseFlavors(allFlavors);
            for (Flavor flavor : targetFlavors) {
                BinaryNamingScheme namingSchemeWithFlavor = namingScheme.withVariantDimension(flavor, targetFlavors);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/resolve/DefaultLibraryResolver.java

        }
    
        private class LibraryResolution {
            private Flavor flavor;
            private NativePlatform platform;
            private BuildType buildType;
    
            public LibraryResolution withFlavor(Flavor flavor) {
                this.flavor = flavor;
                return this;
            }
    
            public LibraryResolution withPlatform(NativePlatform platform) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ResolutionAttributesOrderingIntegrationTest.groovy

            """
            file("producer/build.gradle") << """
                def usage = Attribute.of('usage', String)
                def buildType = Attribute.of('buildType', String)
                def flavor = Attribute.of('flavor', String)
    
                configurations {
                    correctElements {
                        canBeResolved = false
                        canBeConsumed = true
                        attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/StronglyTypedConfigurationAttributesResolveIntegrationTest.groovy

                        c1 { attributes { attribute(flavor, objects.named(Flavor, 'preview')); $debug } }
                        c2 { attributes { attribute(flavor, objects.named(Flavor, 'preview')); $release } }
                        c3 { attributes { attribute(flavor, objects.named(Flavor, 'full')); $debug } }
                        c4 { attributes { attribute(flavor, objects.named(Flavor, 'full')); $release } }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 48.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            def attr = Attribute.of(Flavor)
    
            given:
            schema.attribute(attr).disambiguationRules.add(CustomSelectionRule)
    
            def value1 = flavor('value1')
            def value2 = flavor('value2')
    
            def candidates = [value1, value2] as Set
    
            when:
            def best = schema.matcher().selectionSchema.disambiguate(attr, flavor('requested'), candidates)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultFlavorTest.groovy

    import spock.lang.Specification
    
    class DefaultFlavorTest extends Specification {
        def "has useful string representation"() {
            def flavor = new DefaultFlavor("someFlavor")
    
            expect:
            flavor.toString() == "flavor 'someFlavor'"
            flavor.displayName == "flavor 'someFlavor'"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 970 bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

      - Variant 'bar':
          - Incompatible because this component declares attribute 'buildType' with value 'release', attribute 'flavor' with value 'paid' and the consumer needed attribute 'buildType' with value 'debug', attribute 'flavor' with value 'free'
      - Variant 'foo' declares attribute 'flavor' with value 'free':
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/FlavorContainer.java

    import org.gradle.api.NamedDomainObjectContainer;
    
    /**
     * A container of {@link Flavor}s.
     * <p>
     * If no flavor is explicitly configured, will contain a single {@link Flavor} named 'default'.
     * Any flavors explicitly configured will overwrite the default flavor.
     */
    @Incubating
    public interface FlavorContainer extends NamedDomainObjectContainer<Flavor> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ResolvableConfigurationsReportTaskIntegrationTest.groovy

                }
    
                def flavor = Attribute.of('flavor', String)
    
                configurations {
                    custom {
                        description = "My custom configuration"
                        assert canBeResolved
                        canBeConsumed = false
    
                        attributes {
                            attribute(flavor, 'vanilla')
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/NativeComponentReportOutputNormalizerTest.groovy

            build type: build type 'debug'
            flavor: flavor 'default'
            target platform: platform 'current'
            tool chain: Tool chain 'clang' (Clang)
            shared library file: build/libs/hello/shared/libhello.dylib
        Static library 'hello:staticLibrary'
            build using task: :helloStaticLibrary
            build type: build type 'debug'
            flavor: flavor 'default'
            target platform: platform 'current'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top