Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 707 for PROPERTY (0.18 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            readOnlyBean.someValue.toString() == "<display name> property 'someValue'"
            readOnlyBeanWithMapping.someValue.toString() == "<display name> property 'someValue'"
            finalBeanWithOverloads.getSomeValue().toString() == "<display name> property 'someValue'"
            beanWithOverloads.getSomeValue().toString() == "<display name> property 'someValue'"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyLifecycleIntegrationTest.groovy

            outputContains("get failed: Cannot query the value of task ':producer' property 'output' because configuration of root project 'broken' has not completed yet.")
            outputContains("get from task failed: Cannot query the value of task ':producer' property 'output' because task ':producer' has not completed yet.")
            outputContains("set failed: The value for task ':producer' property 'output' is final and cannot be changed any further.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestInputAnnotationFailuresIntegrationTest.groovy

            result.assertHasErrorOutput("A problem was found with the configuration of task ':myTask' (type 'MyTask').")
            result.assertHasErrorOutput("- Type 'MyTask' property '$elementName' has @Input annotation used on property of type '$elementType'.")
            result.assertHasErrorOutput("Reason: A property of type '$elementType' annotated with @Input cannot determine how to interpret the file.")
            result.assertHasErrorOutput("Possible solutions:")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

            PropertyMetaData property = getProperty(name);
            property.setType(type);
            property.setRawCommentText(rawCommentText);
            property.setGetter(getterMethod);
            return property;
        }
    
        public PropertyMetaData addWriteableProperty(String name, TypeMetaData type, String rawCommentText, MethodMetaData setterMethod) {
            PropertyMetaData property = getProperty(name);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectCollectionExtensions.kt

     * property name from the container via a delegated property.
     */
    operator fun <T : Any, C : NamedDomainObjectCollection<T>, U : T> ExistingDomainObjectDelegateProviderWithTypeAndAction<C, U>.provideDelegate(
        receiver: Any?,
        property: KProperty<*>
    ) = ExistingDomainObjectDelegate.of(
        delegateProvider.named(property.name, type, action)
    )
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/ObjectExtensionInstantiationIntegrationTest.groovy

        }
    
        def "can create instance of interface with read-only Property<T> property"() {
            buildFile """
                interface Thing {
                    Property<String> getValue()
                }
    
                extensions.create("thing", Thing)
                assert thing.value.getOrNull() == null
                assert thing.value.toString() == "extension 'thing' property 'value'"
                thing {
                    value = "value"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 16.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/troubleshooting/validation_problems.adoc

    This error indicates that a property of "mutable" type is also providing a setter.
    Mutable types in Gradle include link:{javadocPath}/org/gradle/api/provider/Property.html[Property] or link:{javadocPath}/org/gradle/api/file/ConfigurableFileCollection.html[ConfigurableFileCollection].
    
    For example, you wrote:
    
    ```groovy
    class MyTask extends DefaultTask {
        private Property<Integer> x
    
        @Input
        Property<Integer> getX() { this.x }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensions.kt

        }
    
        operator fun provideDelegate(thisRef: Any?, property: KProperty<*>) = ExistingDomainObjectDelegate.of(
            when (configuration) {
                null -> container.create(property.name)
                else -> container.create(property.name, configuration)
            }
        )
    }
    
    
    /**
     * Provides a property delegate that creates elements of the given [type].
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 22:09:44 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/main/java/org/gradle/language/swift/tasks/SwiftCompile.java

        private final Property<Boolean> debuggable;
        private final Property<Boolean> optimize;
        private final Property<NativePlatform> targetPlatform;
        private final Property<NativeToolChain> toolChain;
    
        private final CompilerOutputFileNamingSchemeFactory compilerOutputFileNamingSchemeFactory;
        private final Deleter deleter;
    
        @Inject
        public SwiftCompile(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy

                error(missingAnnotationConfig { type('MyTask').property('tree.nonAnnotated').missingInputOrOutput() }, 'validation_problems', 'missing_annotation'),
                error(missingAnnotationConfig { type('MyTask').property('tree.left.nonAnnotated').missingInputOrOutput() }, 'validation_problems', 'missing_annotation'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top