Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,053 for PROPERTY (0.25 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy

                property: [(TYPE): Small],
            ], [
                strict(conflictingAnnotationsMessage { property('property').inConflict('Small', 'Large').includeLink() })
            ]
        }
    
        @SuppressWarnings("unused")
        class TypeWithConflictingFieldAndMethodAnnotation {
            @Large
            private final String property = "test"
    
            @Small
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 11 15:31:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyClosureIntegrationTest.groovy

        def "from-cache build fails when task action closure reads a project property"() {
            given:
            buildFile << """
                tasks.register("some") {
                    doFirst {
                        println(name) // task property is ok
                        println($expression)
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. testing/performance/src/templates/java-source/Production.java

                <%}%>
            }
            return len>10;
        }
        <% } %>
    
        public ${productionClassName}(){
            this.property = null;
        }
    
        public ${productionClassName}(String param) {
            this.property = param;
        }
    
        public String getProperty() {
            return property;
        }
    <% propertyCount.times { %>
        private String prop${it};
    
        public String getProp${it}() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/AssignmentResolverTest.kt

        @Test
        fun `resolves transitive property`() {
            assignmentTrace(
                schema.resolve(
                    """
                    val myD = newD("shared")
                    val c1 = c(1)
                    c1.d = myD
                    str = c1.d.id
                    """.trimIndent()
                )
            ).run {
                val strAssignment = elements.find { it.lhs.property.name == "str" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/StringBuildOption.java

    public abstract class StringBuildOption<T> extends AbstractBuildOption<T, CommandLineOptionConfiguration> {
    
        public StringBuildOption(String property) {
            super(property);
        }
    
        public StringBuildOption(String property, CommandLineOptionConfiguration... commandLineOptionConfigurations) {
            super(property, commandLineOptionConfigurations);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/IntegerBuildOption.java

        public IntegerBuildOption(String property) {
            super(property);
        }
    
        public IntegerBuildOption(String property, String deprecatedProperty) {
            super(property, deprecatedProperty);
        }
    
        public IntegerBuildOption(String property, CommandLineOptionConfiguration... commandLineOptionConfigurations) {
            super(property, commandLineOptionConfigurations);
        }
    
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 11:25:33 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/optimizing-performance/project_properties.adoc

    Both of the following will set the `foo` property on your Project object to `"bar"`.
    
    *Example 2:* Setting a project property via a *system property*:
    ====
    ----
    org.gradle.project.foo=bar
    ----
    ====
    
    *Example 3:* Setting a project property via an *environment variable*:
    ====
    ----
    ORG_GRADLE_PROJECT_foo=bar
    ----
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 10:46:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/SystemProperties.java

        }
    
        /**
         * Creates an instance for a Factory implementation with a system property set to a given value.  Sets the system property back to the original value (or
         * clears it if it was never set) after the operation.
         *
         * @param propertyName The name of the property to set
         * @param value The value to temporarily set the property to
         * @param factory Instance created by the Factory implementation
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/plugins/mutableManagedProperty/groovy/buildSrc/src/main/java/Download.java

    import org.gradle.api.DefaultTask;
    import org.gradle.api.provider.Property;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.TaskAction;
    
    import java.net.URI;
    
    // tag::download[]
    public abstract class Download extends DefaultTask {
        @Input
        public abstract Property<URI> getUri(); // abstract getter of type Property<T>
    
        @TaskAction
        void run() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 488 bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/Documentation.java

            private final Class<?> targetClass;
            private final String property;
    
            public DslReference(Class<?> targetClass, String property) {
                this.targetClass = Preconditions.checkNotNull(targetClass);
                this.property = Preconditions.checkNotNull(property);
            }
    
            @Override
            public String getUrl() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top