Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mapValue (0.09 sec)

  1. testing/public-api-tests/src/integTest/groovy/org/gradle/api/PublicApiIntegrationTest.groovy

                abstract class CustomTask : DefaultTask() {
                    @get:Input
                    abstract val mapValues: MapProperty<String, Int>
    
                    @TaskAction
                    fun customAction() {
                        println("Hello from custom task")
                        // println("- mapValues['alma'] = \${mapValues['alma']}")
                    }
                }
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 08:43:08 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/ProjectStateStore.kt

        protected
        abstract fun read(decoder: Decoder): V
    
        /**
         * Collects all values used during execution
         */
        fun collectAccessedValues(): Map<K, BlockAddress> =
            currentValues.mapValues { it.value.get() }
    
        fun restoreFromCacheEntry(entryDetails: Map<K, BlockAddress>, checkedFingerprint: CheckedFingerprint.ProjectsInvalid) {
            for (entry in entryDetails) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top