Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for neste (0.97 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalkerTest.groovy

            "map provider value"      | ["key1": "Hello", "key2": TestUtil.providerFactory().provider { null }] | IllegalStateException | "Null value is not allowed for the nested collection property 'nested.key2'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/TypeMetadataWalker.java

     * and then the properties are visited in depth-first order.
     * Nested properties are marked with a nested annotation and are inspected for child properties that can be
     * "leaf" annotated properties, or other nested properties.
     * The {@link TypeMetadataStore} associated with the walker determines which non-nested property annotations are recognized
     * during the walk.
     * Nested {@code Map}s, {@code Iterable}s are resolved as child properties.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ModelMapDslIntegrationTest.groovy

        String getValue()
        void setValue(String v)
    }
    
    class MyPlugin extends RuleSource {
        @Model
        void things(ModelMap<Thing> things) { }
    }
    
    apply plugin: MyPlugin
    '''
        }
    
        def "nested create rule is executed only as required"() {
            buildFile << '''
    model {
        tasks {
            show(Task) {
                doLast {
                    println "value = " + $.things.test.value
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/AccessInCurrentReceiverOnlyTest.kt

        @Configuring
        fun nested(fn: Nested.() -> Unit) = Unit
    
        @get:Restricted
        val nested: Nested
            get() = TODO()
    }
    
    
    private
    class Nested {
        @get:Restricted
        var n = 1
    }
    
    
    class AccessInCurrentReceiverOnlyTest {
        val schema = schemaFromTypes(TopLevelForTest::class, listOf(TopLevelForTest::class, HasAnnotatedMembers::class, Nested::class))
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/NestedBeanJavaInterOpIntegrationTest.groovy

                import ${ObjectFactory.name};
                import ${TaskAction.name};
                import ${Nested.name};
                import ${Inject.name};
    
                public class SomeTask extends DefaultTask {
                    private final Params params;
    
                    @Nested
                    public Params getParams() {
                        return params;
                    }
    
                    @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyKotlinInterOpIntegrationTest.groovy

                import ${DefaultTask.name}
                import ${RegularFileProperty.name}
                import ${TaskAction.name}
                import ${Nested.name}
    
                open class ProducerTask: DefaultTask() {
                    @Nested
                    val params: Params = project.objects.newInstance(Params::class.java)
    
                    @TaskAction
                    fun run() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ManagedFilePropertyJavaInterOpIntegrationTest.groovy

                import ${DefaultTask.name};
                import ${TaskAction.name};
                import ${Nested.name};
                import ${Files.name};
                import ${IOException.name};
    
                public abstract class ProducerTask extends DefaultTask {
                    @Nested
                    public abstract Params getParams();
    
                    @TaskAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

                    @Internal
                    Property<String> getUnused()
                }
    
                abstract class SomeTask extends DefaultTask {
                    @Nested
                    abstract Bean getBean()
    
                    @Nested
                    abstract Bean getUnusedBean()
    
                    @Internal
                    abstract Property<String> getValue()
    
                    @Internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFailuresIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl
    
    class ConfigurationCacheDependencyResolutionFailuresIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def 'nested dependency resolution failures are surfaced to the top'() {
            given:
            def emptyRepo = createDir('empty')
            buildFile '''
    
                configurations {
                    implementation
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelPropertyTargetingRuleIntegrationTest.groovy

    @UnsupportedWithConfigurationCache(because = "software model")
    class ManagedModelPropertyTargetingRuleIntegrationTest extends AbstractIntegrationSpec {
    
        def "rule can target nested element of managed element as input"() {
            when:
            buildScript '''
                @Managed
                interface Platform {
                    OperatingSystem getOperatingSystem()
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.6K bytes
    - Viewed (0)
Back to top