Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for distributionSha256Sum (0.48 sec)

  1. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/WrapperConfiguration.java

            this.distributionPath = distributionPath;
        }
    
        public String getDistributionSha256Sum() {
            return distributionSha256Sum;
        }
    
        public void setDistributionSha256Sum(String distributionSha256Sum) {
            this.distributionSha256Sum = distributionSha256Sum;
        }
    
        public String getZipBase() {
            return zipBase;
        }
    
        public void setZipBase(String zipBase) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/internal/WrapperGenerator.java

            if (distributionSha256Sum != null) {
                wrapperProperties.put(WrapperExecutor.DISTRIBUTION_SHA_256_SUM, distributionSha256Sum);
            }
            wrapperProperties.put(WrapperExecutor.DISTRIBUTION_BASE_PROPERTY, distributionBase.toString());
            wrapperProperties.put(WrapperExecutor.DISTRIBUTION_PATH_PROPERTY, distributionPath);
            wrapperProperties.put(WrapperExecutor.ZIP_STORE_BASE_PROPERTY, archiveBase.toString());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 00:45:32 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. .mvn/wrapper/maven-wrapper.properties

    # specific language governing permissions and limitations
    # under the License.
    distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
    distributionSha256Sum=83aaf914c785c9faed661f223000a92d1de9553f5c82d3b4362e66d9c031625f
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 21:44:53 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/Wrapper.java

         */
        @Option(option = "gradle-distribution-sha256-sum", description = "The SHA-256 hash sum of the gradle distribution.")
        public void setDistributionSha256Sum(@Nullable String distributionSha256Sum) {
            this.distributionSha256Sum = distributionSha256Sum;
        }
    
        /**
         * The distribution base specifies whether the unpacked wrapper distribution should be stored in the project or in
         * the gradle user home dir.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/WrapperExecutorTest.groovy

            properties.distributionBase = 'testDistBase'
            properties.distributionPath = 'testDistPath'
            properties.zipStoreBase = 'testZipBase'
            properties.zipStorePath = 'testZipPath'
            properties.distributionSha256Sum = 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
            properties.networkTimeout = '11000'
            properties.validateDistributionUrl = 'true'
            propertiesFile.parentFile.mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/WrapperExecutor.java

        public static final String DISTRIBUTION_BASE_PROPERTY = "distributionBase";
        public static final String DISTRIBUTION_PATH_PROPERTY = "distributionPath";
        public static final String DISTRIBUTION_SHA_256_SUM = "distributionSha256Sum";
        public static final String ZIP_STORE_BASE_PROPERTY = "zipStoreBase";
        public static final String ZIP_STORE_PATH_PROPERTY = "zipStorePath";
        public static final String NETWORK_TIMEOUT_PROPERTY = "networkTimeout";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/reference/gradle_wrapper.adoc

    ==== Configuring checksum verification
    Add the downloaded (SHA-256 checksum) hash sum to `gradle-wrapper.properties` using the `distributionSha256Sum` property or use `--gradle-distribution-sha256-sum` on the command-line:
    
    [source,properties]
    ----
    distributionSha256Sum=371cb9fbebbe9880d147f59bab36d61eee122854ef8c9ee1ecf12b82368bcf10
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 16:15:50 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top