Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

                it.from.attribute(TEST_ATTRIBUTE, "FROM")
                it.to.attribute(TEST_ATTRIBUTE, "TO")
            }
    
            then:
            registry.registrations.size() == 1
            def registration = registry.registrations[0]
            registration.from.getAttribute(TEST_ATTRIBUTE) == "FROM"
            registration.to.getAttribute(TEST_ATTRIBUTE) == "TO"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 11:18:50 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/VariantAttributesRulesIntegrationTest.groovy

                    variant 'customVariant', [format: 'custom']
                    dependsOn('org.test:moduleB:1.0')
                }
            }
    
            buildFile << """
                def testAttribute = Attribute.of("TEST_ATTRIBUTE", String)
                def formatAttribute = Attribute.of('format', String)
    
                configurations { $variantToTest { attributes { attribute(formatAttribute, 'custom') } } }
    
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top