Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for targetPlatform (0.14 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

        def "can have two attributes with the same type but different names"() {
            def conf = conf()
            def targetPlatform = Attribute.of('targetPlatform', Platform)
            def runtimePlatform = Attribute.of('runtimePlatform', Platform)
    
            when:
            conf.getAttributes().attribute(targetPlatform, Platform.JAVA6)
            conf.getAttributes().attribute(runtimePlatform, Platform.JAVA7)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    ----
    
    Here you can see that the link:{groovyDslPath}/org.gradle.nativeplatform.TargetedNativeComponent.html#org.gradle.nativeplatform.TargetedNativeComponent:targetPlatform(java.lang.String)[TargetedNativeComponent.targetPlatform(java.lang.String)] method is used to specify a platform that the `NativeExecutableSpec` named `main` should be built for.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
Back to top