Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 347 for Flavor (0.17 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/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)
  3. 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)
  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. 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)
  9. releasenotes/notes/artifact-naming.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: installation
    issue:
    - 45677
    releaseNotes:
    - |
      **Added** amd64 named artifacts for MacOS and Windows. The amd64 flavor of the artifacts didgit push not contain the
      architecture in the name as we do for the other operating systems. This makes the artifact naming consistent.
      **Deprecated** the MacOS and Windows artifacts without an architecture specified in the name
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 07 17:15:40 UTC 2023
    - 611 bytes
    - Viewed (0)
  10. 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)
Back to top