Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for collectEntries (0.32 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChanges.groovy

                    [(jsonChange.toApiChange()): jsonChange.acceptation]
                }
                acceptedApiChanges.acceptedChanges.putAll(acceptedChanges)
            }
            return acceptedApiChanges
        }
    
        Map<String, String> toAcceptedChangesMap() {
            acceptedChanges.collectEntries { change ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AsciidoctorPluginSmokeTest.groovy

            TestedVersions.asciidoctor.collectEntries([:]) { version ->
                def base = [
                    "org.asciidoctor.editorconfig",
                    "org.asciidoctor.js.convert",
                    "org.asciidoctor.jvm.convert",
                    "org.asciidoctor.jvm.epub",
                    "org.asciidoctor.jvm.gems",
                    "org.asciidoctor.jvm.pdf",
                ].collectEntries { plugin ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:39:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MapCollectors.java

            }
    
            @Override
            public MapCollector<K, V> absentIgnoring() {
                // always present
                return this;
            }
    
            @Override
            public Value<Void> collectEntries(ValueConsumer consumer, MapEntryCollector<K, V> collector, Map<K, V> dest) {
                collector.add(key, value, dest);
                return Value.present();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 12:22:39 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcGradlePluginApiVersionAttributeIntegrationTest.groovy

                output.findAll(">>> .*").collect {it.takeAfter(">>> ").split("=") }.collectEntries()
    
            configurationsWithAttribute ==
                ["buildScriptClasspath", "compileClasspath", "runtimeClasspath", "testCompileClasspath", "testRuntimeClasspath", "otherCompileClasspath", "otherRuntimeClasspath"]
                    .collectEntries { [it, GradleVersion.current().getVersion()] }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/valueProviders/envVarsSysPropsDo/groovy/build.gradle

    def jdkVariables = ["JDK_8", "JDK_11", "JDK_17"]
    def jdkLocations = jdkVariables.findAll { v ->
        System.getenv(v) != null
    }.collectEntries { v ->
        [v, System.getenv(v)]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 177 bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTransformNodeIdBuildOperationIntegrationTest.groovy

            configurationCacheRun ":consumer:resolve"
            then:
            uniqueIdsPerColor == uniqueIdsFromStore
        }
    
        private Map<String, Long> getUniqueIdsPerColor() {
            transformStepIdentities.collectEntries { color, identities ->
                def nodeIds = (identities*.transformStepNodeId as Set<Long>)
                [(color): Iterables.getOnlyElement(nodeIds)]
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/SortedMapDiffUtilTest.groovy

        }
    
        private static Map diff(List<String> previous, List<String> current) {
            SortedMap<String, String> previousMap = ImmutableSortedMap.copyOf(previous.collectEntries { [(it): 'previous' + it] })
            SortedMap<String, String> currentMap = ImmutableSortedMap.copyOf(current.collectEntries { [(it): 'current' + it] })
    
            Map result = [added: [], removed: [], updated: []]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultTestLauncherTest.groovy

                assert request.testClassNames == []
                assert request.testExecutionDescriptors == []
                assert request.taskAndTests.collectEntries { [it.key, it.value.collect { r -> r.className }] } == ["test" : ["clazz1", "clazz2"]]
            }
        }
    
        def "test method requests with specific task added to test request"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/ForkOptionsTest.groovy

            forkOptions.tempDir == null
            forkOptions.jvmArgs == []
        }
    
        def 'options can be defined via a map'() {
            when:
            forkOptions.define(PROPS.collectEntries { [it, "${it}Value" as String ] })
            then:
            PROPS.each { assert forkOptions."${it}" == "${it}Value" as String }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Collector.java

     * <p>
     *     A <code>Collector</code> represents an increment to a collection property.
     * </p>
     */
    public interface Collector<T> extends ValueSupplier {
        Value<Void> collectEntries(ValueConsumer consumer, ValueCollector<T> collector, ImmutableCollection.Builder<T> dest);
    
        int size();
    
        void calculateExecutionTimeValue(Action<? super ExecutionTimeValue<? extends Iterable<? extends T>>> visitor);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 05:02:13 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top