Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 739 for PROPERTIES (0.12 sec)

  1. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

    import java.util.Hashtable
    import java.util.Properties
    
    
    class BaseTypeCodecTest : AbstractUserTypeCodecTest() {
    
        @Test
        fun `can handle Properties`() {
            val properties = Properties()
            properties.setProperty("prop1", "value1")
            properties.setProperty("prop2", "value2")
            configurationCacheRoundtripOf(properties).run {
                assertThat(properties, equalTo(this))
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation_test.go

    		error   string
    	}
    
    	testCases := []tct{
    		{
    			name: "allowed properties valuevalidation, additional properties structure",
    			schema: Structural{
    				AdditionalProperties: &StructuralOrBool{
    					Structural: &Structural{
    						Generic: Generic{
    							Type: "object",
    						},
    						Properties: map[string]Structural{
    							"bar": {
    								Generic: Generic{
    									Type: "string",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 18:20:00 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultPersistentDirectoryCache.java

    import java.util.Map;
    import java.util.Properties;
    import java.util.function.Consumer;
    
    public class DefaultPersistentDirectoryCache extends DefaultPersistentDirectoryStore implements ReferencablePersistentCache {
    
        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultPersistentDirectoryCache.class);
    
        private final Properties properties = new Properties();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:20:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas.go

    // metadata.name and metadata.generateName properties are specified, making a shallow copy of the provided schema if needed.
    func WithTypeAndObjectMeta(s *schema.Structural) *schema.Structural {
    	if s.Properties != nil &&
    		s.Properties["kind"].Type == "string" &&
    		s.Properties["apiVersion"].Type == "string" &&
    		s.Properties["metadata"].Type == "object" &&
    		s.Properties["metadata"].Properties != nil &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/test/groovy/org/gradle/api/tasks/wrapper/WrapperTest.groovy

            properties.getProperty(WrapperExecutor.DISTRIBUTION_BASE_PROPERTY) == wrapper.getDistributionBase().toString()
            properties.getProperty(WrapperExecutor.DISTRIBUTION_PATH_PROPERTY) == wrapper.getDistributionPath()
            properties.getProperty(WrapperExecutor.ZIP_STORE_BASE_PROPERTY) == wrapper.getArchiveBase().toString()
            properties.getProperty(WrapperExecutor.ZIP_STORE_PATH_PROPERTY) == wrapper.getArchivePath()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/ReflectionDemo.kt

            val plugins = (result as DataObjectReflection).properties[pluginsProp]!!.value as DataObjectReflection
    
            val kotlinKaptPlugin = plugins.addedObjects
                .find {
                    val properties = (it as? DataObjectReflection)?.properties ?: error("unexpected object")
                    val id = properties[idProp] ?: error("no id proprety found")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/AbstractTaskInputsAndOutputsTest.groovy

    import org.gradle.internal.fingerprint.LineEndingSensitivity
    import org.gradle.internal.properties.InputBehavior
    import org.gradle.internal.properties.InputFilePropertyType
    import org.gradle.internal.properties.PropertyValue
    import org.gradle.internal.properties.PropertyVisitor
    import org.gradle.internal.properties.annotations.DefaultTypeMetadataStore
    import org.gradle.internal.properties.annotations.MissingPropertyAnnotationHandler
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-configuration/src/testFixtures/groovy/org/gradle/internal/buildconfiguration/fixture/DaemonJvmPropertiesFixture.groovy

            Properties properties = new Properties()
            properties.put(DaemonJvmPropertiesDefaults.TOOLCHAIN_VERSION_PROPERTY, version.majorVersion)
            if (vendor) {
                properties.put(DaemonJvmPropertiesDefaults.TOOLCHAIN_VENDOR_PROPERTY, vendor)
            }
            if (implementation) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainCoexistWithCurrentOptionsIntegrationTest.groovy

        def "Given daemon toolchain properties defined on gradle properties When executing any task Then those are ignored since aren't defined on daemon-jvm properties file"() {
            given:
            def otherJvm = AvailableJavaHomes.differentVersion
            def otherJvmMetadata = AvailableJavaHomes.getJvmInstallationMetadata(otherJvm)
            captureJavaHome()
            file("gradle.properties")
                .writeProperties(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    [[managed_properties]]
    == Using Gradle Managed Properties
    
    Gradle's managed properties allow you to declare properties as abstract getters (Java, Groovy) or abstract properties (Kotlin).
    
    Gradle then automatically provides the implementation for these properties, managing their state.
    
    A property may be _mutable_, meaning that it has both a `get()` method and `set()` method:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top