Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for targetPlatforms (0.11 sec)

  1. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    === Example: Targeting a component at particular platforms
    
    [source.multi-language-sample,groovy]
    .build.gradle
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  2. 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)
Back to top