Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 353 for flavor3 (0.12 sec)

  1. 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)
  2. 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)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/NativeBinarySpecTest.groovy

        }
    
        def testBinary(MutableModelNode componentNode, Flavor flavor = new DefaultFlavor(DefaultFlavor.DEFAULT)) {
            TestNativeBinariesFactory.create(
                NativeBinarySpec, TestNativeBinarySpec, "test", componentNode,
                DefaultBinaryNamingScheme.component("baseName"), resolver, platform1, buildType1, flavor
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/build.gradle

        }
    }
    // end::terse-example[]
    // tag::configure-test-binary[]
    model {
        binaries {
            withType(CUnitTestSuiteBinarySpec) {
                lib library: "cunit", linkage: "static"
    
                if (flavor == flavors.failing) {
                    cCompiler.define "PLUS_BROKEN"
                }
            }
        }
    }
    // end::configure-test-binary[]
    // end::complete-example[]
    
    def findCUnitLibForPlatform(Platform platform) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/build.gradle

            }
        }
    }
    // tag::configure-test-binary[]
    model {
        binaries {
            withType(GoogleTestTestSuiteBinarySpec) {
                lib library: "googleTest", linkage: "static"
    
                if (flavor == flavors.failing) {
                    cppCompiler.define "PLUS_BROKEN"
                }
    
                if (targetPlatform.operatingSystem.linux) {
                    cppCompiler.args '-pthread'
                    linker.args '-pthread'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example-kotlin-dsl/app/build.gradle.kts

            jvmTarget = "1.8"
        }
    }
    
    project.afterEvaluate {
        // Grab all build types and product flavors
        val buildTypes = android.buildTypes.map { type ->
            type.name
        }
        // When no product flavors defined, use empty
        val productFlavors = android.productFlavors.map { flavor -> flavor.name }
            .takeIf { it.isNotEmpty() }
            ?: listOf("")
        productFlavors.forEach { productFlavorName ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/VariantAwareResolutionWithConfigurationAttributesIntegrationTest.groovy

                            def flavor = Attribute.of('flavor', String)
                            p.dependencies.attributesSchema {
                               attribute(buildType)
                               attribute(usage)
                               attribute(flavor)
                            }
                            def buildTypes = ['debug', 'release']
                            def flavors = ['free', 'paid']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PlatformNativeComponentReportIntegrationTest.groovy

            build type: build type 'debug'
            flavor: flavor 'default'
            target platform: platform '$currentNative'
            tool chain: Tool chain 'clang' (Clang)
            shared library file: build/libs/someLib/shared/libsomeLib.dylib
        Static library 'someLib:staticLibrary'
            build using task: :someLibStaticLibrary
            build type: build type 'debug'
            flavor: flavor 'default'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. 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)
Back to top