Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for key2 (0.13 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

            buildFile << """
                myTask.nested = [(providers.gradleProperty('key').get()): new NestedBean('value1'), key2: new NestedBean('value2')]
            """
            def taskPath = ':myTask'
    
            when:
            run taskPath, '-Pkey=key1'
            then:
            executedAndNotSkipped taskPath
    
            when:
            run taskPath, '-Pkey=key1'
            then:
            skipped taskPath
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

            VersionCatalogProblemId.TOML_SYNTAX_ERROR
        ])
        def "has multiple TOML parse errors"() {
            enableProblemsApiCheck()
    
            tomlFile << """
    # missing key values
    [plugins]
    key=
    key2=
    """
    
            when:
            fails 'help'
    
            then:
            verifyContains(failure.error, parseError {
                inCatalog('libs')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaseCrossBuildResultsStore.java

                statement.setString(14, results.getHost());
                statement.setString(15, results.getTeamCityBuildId());
                statement.execute();
                ResultSet keys = statement.getGeneratedKeys();
                keys.next();
                return keys.getLong(1);
            }
        }
    
        private void insertExecutionExperiment(Connection connection, R results) throws SQLException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependenciesExtensionModule.java

            return self.module(group, name, version);
        }
    
        @Nullable
        private static String extract(Map<String, CharSequence> map, String key) {
            return map.containsKey(key) ? map.get(key).toString() : null;
        }
    
        /**
         * Modifies a dependency.
         *
         * @param dependencyNotation dependency to modify
         * @return the modified dependency
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

            for (K item : keys) {
                destination.put(item, keyGenerator.transform(item));
            }
        }
    
        /**
         * Given a set of keys, derive a set of values and return a map
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java

            if (number == 0) {
                return;
            }
    
            // See the distributions' respective `compiler.java` files to see the keys used for localization.
            // We are using the following keys:
            //  - count.error and count.error.plural
            //  - count.warn and count.warn.plural
            StringBuilder keyBuilder = new StringBuilder("count.");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 06:17:43 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    |Configurable directory location, whose value is mutable
    
    |`ListProperty<T>`
    |List of elements of type `T`
    
    |`SetProperty<T>`
    |Set of elements of type `T`
    
    |`MapProperty<K, V>`
    |Map of `K` type keys with `V` type values
    
    |`ConfigurableFileCollection`
    |A mutable `FileCollection` which represents a collection of file system locations
    
    |`ConfigurableFileTree`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy

            infoAttrs += extraAttributes.collectEntries { key, value -> ["e:$key", value] }
            if (writeGradleMetadataRedirection) {
                ivyFileWriter << "<!-- ${MetaDataParser.GRADLE_6_METADATA_MARKER} -->"
            }
            builder.info(infoAttrs) {
                if (extendsFrom) {
                    "extends"(extendsFrom)
                }
                extraInfo.each { key, value ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache.adoc

    [[sec:task_output_caching_details]]
    == Cacheable tasks
    
    Since a task describes all of its inputs and outputs, Gradle can compute a _build cache key_ that uniquely defines the task's outputs based on its inputs.
    That build cache key is used to request previous outputs from a build cache or store new outputs in the build cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 11:30:10 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top