Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for withProperties (0.27 sec)

  1. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseProjectIntegrationTest.groovy

            it.targetCompatibility = JavaVersion.toVersion('1.1')
          }
          withProperties {
            hooks << 'withProperties'
            it.dummy = 'testValue'
          }
        }
      }
    }
    
    eclipseJdt.doLast() {
      assert hooks == ['beforeMerged', 'whenMerged', 'withProperties']
    }
            """
            when:
            run "eclipse"
            def jdt = parseJdtFile()
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

            and:
            propertyNames(new WithProperties()) == ['class', 'metaClass', 'prop1', 'prop2', 'something', 'somethingElse', 'writeOnly'] as Set
        }
    
        def "read property"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy

                super(backingFile, finalizedBy)
                withProperties() { Properties props ->
                    props.putAll(initialProps)
                }
            }
    
            PropertiesResource changeProperty(String key, String value) {
                withProperties(true) { Properties props ->
                    props.setProperty(key, value)
                }
                changed()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            upperCaser(gString)
        }
    
        private upperCaser(String str) {
            str.toUpperCase()
        }
    }
    
    interface WithProperties {
        String getProp()
    }
    
    class ImplementsInterface implements WithProperties {
        String prop
    }
    
    class HasReadOnlyFinalProperty {
        final Property<String> someValue
    
        HasReadOnlyFinalProperty(ObjectFactory objectFactory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGradleServices.java

                .createCrossVersionCacheBuilder("buildOutputCleanup")
                .withDisplayName("Build Output Cleanup Cache")
                .withInitialLockMode(FileLockManager.LockMode.OnDemand)
                .withProperties(Collections.singletonMap("gradle.version", GradleVersion.current().getVersion()))
                .open();
            return new DefaultOutputFilesRepository(cacheAccess, inMemoryCacheDecoratorFactory);
        }
    
        @Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go

    func (b *JSONSchemaPropsApplyConfiguration) WithNot(value *JSONSchemaPropsApplyConfiguration) *JSONSchemaPropsApplyConfiguration {
    	b.Not = value
    	return b
    }
    
    // WithProperties puts the entries into the Properties field in the declarative configuration
    // and returns the receiver, so that objects can be build by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go

    func (b *JSONSchemaPropsApplyConfiguration) WithNot(value *JSONSchemaPropsApplyConfiguration) *JSONSchemaPropsApplyConfiguration {
    	b.Not = value
    	return b
    }
    
    // WithProperties puts the entries into the Properties field in the declarative configuration
    // and returns the receiver, so that objects can be build by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/core-plugins/eclipse_plugin.adoc

      * `beforeMerged { link:{javadocPath}/org/gradle/plugins/ide/eclipse/model/Jdt.html[Jdt] arg -&gt; ... }`
      * `whenMerged { link:{javadocPath}/org/gradle/plugins/ide/eclipse/model/Jdt.html[Jdt] arg -&gt; ... }`
      * `withProperties { arg -&gt; }` argument type => link:{javaApi}/java/util/Properties.html[`java.util.Properties`]
    
    
    [[sec:partial-overwrite]]
    ==== Partial overwrite of existing content
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 16.8K bytes
    - Viewed (0)
Back to top