Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for distributionSha256Sum (0.29 sec)

  1. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperChecksumVerificationTest.groovy

            result.assertHasErrorOutput("gradle-wrapper.properties contains distributionSha256Sum property, but the wrapper configuration does not have one. " +
                "Specify one in the wrapper task configuration or with the --gradle-distribution-sha256-sum task option")
        }
    
        private writeValidDistributionHash() {
            file(WRAPPER_PROPERTIES_PATH) << "distributionSha256Sum=${distributionHash}"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

                    verifyDownloadChecksum(configuration.getDistribution().toASCIIString(), localZipFile, distributionSha256Sum);
    
                    unzipLocal(localZipFile, distDir);
                    failed = false;
                } catch (ZipException e) {
                    if (retries >= RETRIES && distributionSha256Sum == null) {
                        distributionSha256Sum = fetchDistributionSha256Sum(configuration, localZipFile);
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r63/DistributionChecksumCrossVersionSpec.groovy

            toolingApi.requireIsolatedUserHome()
            withConnection { connection ->
                connection.newBuild().forTasks("wrapper").run()
            }
            file('gradle/wrapper/gradle-wrapper.properties') << 'distributionSha256Sum=bad'
    
            when:
            def connector = this.connector()
            connector.useBuildDistribution()
            withConnection(connector) { ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

            when:
            run "wrapper", "--gradle-distribution-sha256-sum", "somehash"
    
            then:
            file("gradle/wrapper/gradle-wrapper.properties").text.contains("distributionSha256Sum=somehash")
        }
    
        def "generated wrapper scripts for given network timeout from command-line"() {
            when:
            run "wrapper", "--network-timeout", "7000"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top