Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 574 for PROPERTY (0.14 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                    "assert 'root' == property('rootProperty')",
                    "assert 'root' == properties.rootProperty",
                    "assert 'child' == childProperty",
                    "assert 'child' == property('childProperty')",
                    "assert 'child' == properties.childProperty",
                    "assert 'shared' == sharedProperty",
                    "assert 'shared' == property('sharedProperty')",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

            where:
            kind       | setExpr         | expr
            "property" | "ext.foo = 1"   | "foo"
            "property" | "ext.foo = 1"   | "hasProperty('foo')"
            "property" | "ext.foo = 1"   | "property('foo')"
            "property" | "ext.foo = 1"   | "findProperty('foo')"
            "property" | "ext.foo = 1"   | "getProperty('foo')"
            "property" | "ext.foo = 1"   | "properties"
            "method"   | "def foo() { }" | "foo()"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/Project.java

     *
     * </ul>
     *
     * <p>When reading a property, the project searches the above scopes in order, and returns the value from the first
     * scope it finds the property in. If not found, an exception is thrown. See {@link #property(String)} for more details.</p>
     *
     * <p>When writing a property, the project searches the above scopes in order, and sets the property in the first scope
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  4. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentExtension.kt

     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.provider.Property
    
    
    interface BuildEnvironmentExtension {
        val gitCommitId: Property<String>
        val gitBranch: Property<String>
        val repoRoot: DirectoryProperty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 05:01:36 UTC 2024
    - 882 bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/TypeAnnotationMetadataStore.java

     *
     * <p>
     * The store considers property annotations to belong to {@linkplain AnnotationCategory categories}.
     * Each property can have at most one annotation per category.
     * Validation failures with a given type can be visited using {@link TypeAnnotationMetadata#visitValidationFailures(TypeValidationContext)}.
     * </p>
     *
     * <strong>Property annotation inheritance</strong>
     *
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc

    - `provider(Provider<T> value)` to create a provider that simply wraps an existing provider.
    - `property(Class<T> type)` to create a property provider for a specific type.
    - `gradleProperty(Class<T> type)` to create a property provider that reads its value from a Gradle project property.
    
    Here's a simple example demonstrating the use of `ProviderFactory` using `project.providers`:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/PropertyProblem.kt

                    append("Gradle runtime")
                }
    
                is Property -> {
                    append(trace.kind)
                    append(" ")
                    quoted(trace.name)
                    append(" of ")
                }
    
                is SystemProperty -> {
                    append("system property ")
                    quoted(trace.name)
                    append(" set at ")
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

        def "logs deprecated and replaced property message"() {
            when:
            DeprecationLogger.deprecateProperty(DeprecationLogger, "propertyName").replaceWith("replacement").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            expectMessage "The DeprecationLogger.propertyName property has been deprecated. This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}. Please use the replacement property instead."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirPropertyDelegationMethodsReference.kt

            check(this is KaFirSession)
            val property = (expression.parent as? KtElement)?.getOrBuildFirSafe<FirProperty>(firResolveSession) ?: return emptyList()
            if (property.delegate == null) return emptyList()
            val getValueSymbol = (property.getter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicMethodLookupIntegrationTest.groovy

        }
    
    
        @Requires(
            value = IntegTestPreconditions.NotIsolatedProjects,
            reason = "Exercises IP incompatible behavior: Groovy method inheritance"
        )
        def "property with closure value is preferred over inherited property with closure value"() {
            given:
            createDirs("child")
            settingsFile << "include 'child'"
            buildFile """
    ext.contacts = { throw new RuntimeException() }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 17:01:37 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top