Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for otherGroup (0.24 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/UnsupportedConfigurationMutationTest.groovy

                }
                configurations.b.resolve()
                configurations.a.exclude group: 'someGroup'
                configurations.a.resolve()
                configurations.a.exclude group: 'otherGroup'
            """
    
    
    
            when: fails()
            then: failure.assertHasCause("Cannot change dependencies of dependency configuration ':a' after it has been included in dependency resolution.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:59:50 UTC 2024
    - 17.6K bytes
    - Viewed (2)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            configuration.getAttributes().attribute(Attribute.of('key', String.class), 'value')
            configuration.resolutionStrategy
    
            def otherConf = conf("other")
            otherConf.dependencies.add(dependency("otherGroup", "name3", "version3"))
            configuration.extendsFrom(otherConf)
            return configuration
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

            task3.target.name == 'target3'
        }
    
        def "can nest elements"() {
            when:
            ant.otherProp = 'true'
            ant.condition(property: 'prop', value: 'someValue') {
                or {
                    and {
                        isSet(property: 'otherProp')
                        not { isSet(property: 'missing') }
                    }
                }
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

            buildFile """
                abstract class Thing {
                    String otherProp
    
                    abstract String getProp()
                    abstract void setProp(String value)
                }
    
                def t = objects.newInstance(Thing)
                assert t.prop == null
                assert t.otherProp == null
                t.prop = "value"
                assert t.prop == "value"
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy

                    void transform(TransformOutputs outputs) {
                        println "processing using prop: \${parameters.prop.get()}, nested: \${parameters.nested.nestedProp.get()}"
                        assert parameters.otherProp.getOrNull() == ${expectedNullValue}
                    }
                }
            """
    
            when:
            run("a:resolve")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 11:12:24 UTC 2023
    - 37.7K bytes
    - Viewed (0)
Back to top