Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for flavor (0.11 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationAttributesResolveIntegrationTest.groovy

                version = '2.0-SNAPSHOT'
    
                def flavor = Attribute.of('flavor', $type)
                dependencies {
                    attributesSchema {
                        attribute(flavor)
                    }
                }
    
                configurations {
                    foo.attributes { attribute(flavor, $freeValue) }
                    bar.attributes { attribute(flavor, $paidValue) }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy

            then:
            single(toolChains).name == 'tc'
            platforms.size() == 1
            single(buildTypes).name == 'bt'
            single(flavors).name == 'flavor1'
        }
    
        def "creates binaries for executable"() {
            when:
            project.pluginManager.apply(NativeComponentModelPlugin)
            registry
                .mutate(NativeToolChainRegistry) { it.add toolChain("tc") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

                    def distinguishingValues = distinguisher == 'flavor' ? "\n  - Value: 'paid' selects variant: 'bar'\n  - Value: 'free' selects variant: 'foo'" : "\n  - Value: 'bar' selects variant: 'bar'\n  - Value: 'foo' selects variant: 'foo'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedFilesApiIntegrationTest.groovy

                details.compatible()
            }
        }
    }
    
    def flavor = Attribute.of('flavor', String)
    
    allprojects {
        dependencies {
            attributesSchema.attribute(flavor)
        }
    }
    
    configurations {
        compile.attributes.attribute(flavor, 'preview')
    }
    
    dependencies {
        compile project(':a')
    }
    
    project(':a') {
        dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example/app/build.gradle

            jvmTarget = '1.8'
        }
    }
    
    project.afterEvaluate {
        // Grab all build types and product flavors
        def buildTypes = android.buildTypes.collect { type ->
            type.name
        }
        def productFlavors = android.productFlavors.collect { flavor ->
            flavor.name
        }
        // When no product flavors defined, use empty
        if (!productFlavors) productFlavors.add('')
        productFlavors.each { productFlavorName ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactSelectionIntegrationTest.groovy

    def usage = Attribute.of('usage', String)
    def buildType = Attribute.of('buildType', String)
    def flavor = Attribute.of('flavor', String)
    
    allprojects {
        repositories {
            ivy { url '${ivyHttpRepo.uri}' }
        }
        dependencies {
            attributesSchema {
               attribute(usage)
               attribute(buildType)
               attribute(flavor)
            }
        }
        configurations {
            compile {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. README.md

    is widely used on most Java projects within Google, and widely used by many
    other companies as well.
    
    
    
    Guava comes in two flavors:
    
    *   The JRE flavor requires JDK 1.8 or higher.
    *   If you need support for Android, use
        [the Android flavor](https://github.com/google/guava/wiki/Android). You can
        find the Android Guava source in the [`android` directory].
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 17:43:52 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top