Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for otherGroup (0.12 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 (0)
  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/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/DefaultGroupTaskReportModel.java

            }
            if (groups.keySet().contains(DEFAULT_GROUP) && groups.keySet().size() > 1) {
                groups.putAll(OTHER_GROUP, groups.removeAll(DEFAULT_GROUP));
            }
            return new DefaultGroupTaskReportModel(groups);
        }
    
        public static final String OTHER_GROUP = "other";
        private static final Comparator<String> STRING_COMPARATOR = GUtil.caseInsensitive();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 08 21:50:18 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtraPropertiesExtension.java

     * </pre>
     *
     * You can also use the Groovy accessor syntax to get and set properties on an extra properties extension.
     *
     * <pre class='autoTested'>
     * project.ext["otherProp"] = "a"
     * assert project.otherProp == "a"
     * assert project.ext["otherProp"] == "a"
     * </pre>
     *
     * The exception that is thrown when an attempt is made to get the value of a property that does not exist is different depending on whether the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:35:02 UTC 2017
    - 6.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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