Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for key2 (0.1 sec)

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

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/DefaultJavaPluginConventionTest.groovy

            given:
            project.file('file') << "key2: value2"
            def manifest = convention.manifest {
                from 'file'
                attributes(key1: 'value1')
            }
    
            when:
            def mergedManifest = manifest.effectiveManifest
    
            then:
            manifest instanceof DefaultManifest
            mergedManifest.attributes as Map == [key1: 'value1', key2: 'value2', 'Manifest-Version': '1.0']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
            """
            file('src/main/java').mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

            }
        }
    
        @Test
        fun `can handle Hashtable`() {
            val hashtable = Hashtable<String, Any>(100)
            hashtable.put("key1", "value1")
            hashtable.put("key2", true)
            hashtable.put("key3", 42)
            configurationCacheRoundtripOf(hashtable).run {
                assertThat(hashtable, 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)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
            """
            file('src/main/java').mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/resources/sshd-config/test-dsa.key

    Louis Jacomet <******@****.***> 1711728981 +0100
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 672 bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildFeatureIntegrationTest.groovy

            configurationCache.assertStateLoaded()
            outputContains("configurationCache.requested=true")
            outputContains("configurationCache.active=true")
        }
    
        def "not active even if requested due to --export-keys flag"() {
            def configurationCache = newConfigurationCacheFixture()
    
            buildFile """
                import org.gradle.api.configuration.BuildFeatures
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt

            if (!declarationsBySchemaFunctions.isEmpty()) {
                collectorDeclarationsByClass[kClass] = declarationsBySchemaFunctions
            }
    
            return declarationsBySchemaFunctions.keys
        }
    
        override fun constructors(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<DataConstructor> = emptyList()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-provider/src/test/kotlin/org/gradle/internal/declarativedsl/GeneralGradleDslSchemaTest.kt

            assertTrue(schema.analysisSchema.dataClassesByFqName.keys.any { it.simpleName == NestedReceiver::class.simpleName })
        }
    
        @Test
        fun `general dsl schema has types discovered via factory functions`() {
            val schema = schemaFrom(UtilsContainer::class)
            assertTrue(schema.analysisSchema.dataClassesByFqName.keys.any { it.simpleName == NestedReceiver::class.simpleName })
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/provider/MapProperty.java

         *
         * @param key the key
         * @param value the value
         */
        void put(K key, V value);
    
        /**
         * Adds a map entry to the property value.
         *
         * <p>The given provider will be queried when the value of this property is queried.
         * This property will have no value when the given provider has no value.
         *
         * @param key the key
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 16:25:03 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top