Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 361 for flavor (0.12 sec)

  1. 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)
  2. platforms/documentation/docs/src/snippets/native-binaries/flavors/groovy/build.gradle

    plugins {
        id 'cpp'
    }
    
    // tag::flavors[]
    model {
        flavors {
            english
            french
        }
        components {
            hello(NativeLibrarySpec) {
                binaries.all {
                    if (flavor == flavors.french) {
                        cppCompiler.define "FRENCH"
                    }
                }
            }
        }
    }
    // end::flavors[]
    
    model {
        binaries {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 624 bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/NativeBinary.java

    /**
     * Represents a particular binary artifact.
     */
    @Incubating
    public interface NativeBinary extends Binary {
        /**
         * The {@link org.gradle.nativeplatform.Flavor} that this binary was built with.
         */
        Flavor getFlavor();
    
        /**
         * Returns the {@link org.gradle.nativeplatform.platform.NativePlatform} that this binary is targeted to run on.
         */
        NativePlatform getTargetPlatform();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/prebuilt/DefaultPrebuiltStaticLibraryBinaryTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.internal.prebuilt
    
    import org.gradle.api.internal.file.TestFiles
    import org.gradle.nativeplatform.BuildType
    import org.gradle.nativeplatform.Flavor
    import org.gradle.nativeplatform.PrebuiltLibrary
    import org.gradle.nativeplatform.platform.NativePlatform
    import spock.lang.Specification
    
    class DefaultPrebuiltStaticLibraryBinaryTest extends Specification {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/prebuilt/DefaultPrebuiltSharedLibraryBinaryTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.internal.prebuilt
    
    import org.gradle.api.internal.file.TestFiles
    import org.gradle.nativeplatform.BuildType
    import org.gradle.nativeplatform.Flavor
    import org.gradle.nativeplatform.PrebuiltLibrary
    import org.gradle.nativeplatform.platform.NativePlatform
    import spock.lang.Specification
    
    class DefaultPrebuiltSharedLibraryBinaryTest extends Specification {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            conf.attributes.getAttribute(flavor).name == 'free'
            conf.attributes.getAttribute(buildType).name == 'release'
        }
    
        def "cannot define two attributes with the same name but different types"() {
            def conf = conf()
            def flavor = Attribute.of('flavor', Flavor)
    
            when:
            conf.getAttributes().attribute(flavor, new FlavorImpl(name: 'free'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  7. helm/minio/templates/networkpolicy.yaml

    {{- if and (.Values.networkPolicy.enabled) (eq .Values.networkPolicy.flavor "kubernetes") }}
    kind: NetworkPolicy
    apiVersion: {{ template "minio.networkPolicy.apiVersion" . }}
    metadata:
      name: {{ template "minio.fullname" . }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
    spec:
      podSelector:
        matchLabels:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 24 07:27:57 UTC 2024
    - 819 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. helm/minio/templates/ciliumnetworkpolicy.yaml

    {{- if and (.Values.networkPolicy.enabled) (eq .Values.networkPolicy.flavor "cilium") }}
    kind: CiliumNetworkPolicy
    apiVersion: cilium.io/v2
    metadata:
      name: {{ template "minio.fullname" . }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
    spec:
      endpointSelector:
        matchLabels:
          app: {{ template "minio.name" . }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 07:50:24 UTC 2024
    - 936 bytes
    - Viewed (0)
Back to top