Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for key2 (0.03 sec)

  1. platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/stdlib/MapExtensions.kt

    fun <V> Map<String, V>.filterKeysByPrefix(prefix: String): Map<String, V?> =
        filterKeys { key -> key.length > prefix.length && key.startsWith(prefix) }
    
    
    /**
     * Inverts the given map by swapping its keys with their corresponding values and returns the resulting map.
     *
     * If the original map contains duplicate values, the resulting map will map each value to the key associated
     * with the last occurrence of that value in the original map's iteration order.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifierTest.groovy

        ModuleComponentArtifactIdentifier artifact
        File artifactFile = Mock(File)
        File signatureFile = Mock(File)
    
        @Issue("https://github.com/gradle/gradle/issues/11999")
        def "handles duplicate keys"() {
            artifact("org", "foo", "1.0")
    
            when:
            artifactFile.exists() >> true
            signatureFile.exists() >> true
            verify()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 13:23:37 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseWtpFacet.java

     * plugins {
     *     id 'war' // or 'ear' or 'java'
     *     id 'eclipse-wtp'
     * }
     *
     * eclipse {
     *   wtp {
     *     facet {
     *       //you can add some extra wtp facets or update existing ones; mandatory keys: 'name', 'version':
     *       facet name: 'someCoolFacet', version: '1.3'
     *
     *       file {
     *         //if you want to mess with the resulting XML in whatever way you fancy
     *         withXml {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. platforms/software/signing/src/test/groovy/org/gradle/plugins/signing/SigningProjectSpec.groovy

            addPrefixedSigningProperties(args.prefix, properties.keyId, properties.secretKeyRingFile, properties.password)
        }
    
        def getKeyResourceFile(setName, fileName) {
            getResourceFile("keys/$setName/$fileName")
        }
    
        def getResourceFile(path) {
            def copiedFile = temporaryFolder.file(path)
            if (!copiedFile.exists()) {
                copiedFile.parentFile.mkdirs()
                Files.copy(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/api/internal/tasks/SnapshotTaskInputsBuildOperationType.java

             */
            @Nullable
            List<String> getActionClassNames();
    
            /**
             * The input value property hashes.
             * <p>
             * key = property name
             * <p>
             * Ordered by key, lexicographically.
             * No null keys or values.
             * Never empty.
             * Null if the task has no inputs.
             */
            @Nullable
            Map<String, byte[]> getInputValueHashesBytes();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 17:46:30 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientHelperSSLTest.groovy

            setupSystemProperties()
            System.clearProperty("javax.net.ssl.keyStorePassword")
    
            when:
            performAuthenticatedRequest(false)
    
            // NOTE: This should fail, as the private keys password must match
            //       the keystore password, so a password is necessary
            then:
            Exception exception = thrown()
            TestUtil.isOrIsCausedBy(exception, UnrecoverableKeyException.class)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 05:29:07 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/FilterChain.java

                    } catch (MissingPropertyException e) {
                        throw new GradleException(String.format("Missing property (%s) for Groovy template expansion. Defined keys %s.", e.getProperty(), properties.keySet()), e);
                    } catch (IOException e) {
                        throw new UncheckedIOException(e);
                    }
                }
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenPublishS3IntegrationTest.groovy

            module.parsedPom.scopes.isEmpty()
    
            where:
            bucket << ["tests3Bucket", "tests-3-Bucket-1.2.3" ]
        }
    
        def "can publish to a S3 Maven repository using provided access and secret keys"() {
            given:
            AwsCredentials credentials = new DefaultAwsCredentials()
            credentials.setAccessKey("someAccessKey")
            credentials.setSecretKey("someSecretKey")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/util/ConfigureUtil.java

                missingKeys.removeAll(toStringList(properties.keySet()));
                if (!missingKeys.isEmpty()) {
                    throw new IncompleteInputException("Input configuration map does not contain following mandatory keys: " + missingKeys, missingKeys);
                }
            }
            return configureByMapInternal(properties, delegate);
        }
    
        /**
         * Incomplete input exception.
         */
        @Deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top