Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for distributionUrl (0.18 sec)

  1. platforms/documentation/docs/src/docs/userguide/reference/gradle_wrapper.adoc

    ----
    
    Embedding credentials in the `distributionUrl` in the `gradle/wrapper/gradle-wrapper.properties` file also works.
    Please note that this file is to be committed into your source control system.
    
    TIP: Shared credentials embedded in `distributionUrl` should only be used in a controlled environment.
    
    To specify the HTTP Basic Authentication credentials in `distributionUrl`, add the following line:
    
    [listing]
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 16:15:50 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

            }
        }
    
        private void forceFetch(File localTargetFile, URI distributionUrl) throws Exception {
            File tempDownloadFile = new File(localTargetFile.getParentFile(), localTargetFile.getName() + ".part");
            tempDownloadFile.delete();
    
            logger.log("Downloading " + safeUri(distributionUrl));
            download.download(distributionUrl, tempDownloadFile);
            if(localTargetFile.exists()) {
    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/core-runtime/wrapper-shared/src/main/java/org/gradle/util/internal/WrapperDistributionUrlConverter.java

         *
         * @param distributionUrl The distribution url.
         * @param fileRoot The root directory to resolve relative urls against.
         * @return The URI.
         * @throws URISyntaxException If the url is not a valid URI.
         */
        public static URI convertDistributionUrl(String distributionUrl, File fileRoot) throws URISyntaxException {
            URI source = new URI(distributionUrl);
            if (source.getScheme() == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/WrapperExecutorTest.groovy

            then:
            Exception e = thrown()
            e.cause.message == "No value with key 'distributionUrl' specified in wrapper properties file '$propertiesFile'."
        }
    
        def "supports relative distribution url"() {
            given:
            properties.distributionUrl = 'some/relative/url/to/bin.zip'
            propertiesFile.withOutputStream { properties.store(it, 'header') }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/internal/WrapperGenerator.java

            File wrapperJarOutputFile, String jarFileRelativePath,
            File unixScript, File batchScript,
            @Nullable String distributionUrl,
            boolean validateDistributionUrl,
            @Nullable Integer networkTimeout
        ) {
            writeProperties(wrapperPropertiesOutputFile, distributionUrl, distributionSha256Sum, distributionBase, distributionPath, archiveBase, archivePath, networkTimeout, validateDistributionUrl);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 00:45:32 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. gradle/wrapper/gradle-wrapper.properties

    distributionBase=GRADLE_USER_HOME
    distributionPath=wrapper/dists
    distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-8.9-20240529002035+0000-bin.zip
    networkTimeout=10000
    validateDistributionUrl=true
    zipStoreBase=GRADLE_USER_HOME
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 11:20:16 UTC 2024
    - 280 bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

        def "generated wrapper scripts use correct line separators"() {
            buildFile << """
                wrapper {
                    distributionUrl = 'http://localhost:8080/gradlew/dist'
                }
            """
    
            when:
            run "wrapper", "--no-validate-url"
    
            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)
  8. platforms/software/build-init/src/test/groovy/org/gradle/api/tasks/wrapper/WrapperTest.groovy

        }
    
        def "distributionUrl should not contain small dotless I letter when locale has small dotless I letter"() {
            given:
            Locale originalLocale = Locale.getDefault()
            Locale.setDefault(new Locale("tr","TR"))
    
            when:
            execute(wrapper)
            String distributionUrl = wrapper.getDistributionUrl()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. gradle/wrapper/gradle-wrapper.properties

    distributionBase=GRADLE_USER_HOME
    distributionPath=wrapper/dists
    distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
    networkTimeout=10000
    validateDistributionUrl=true
    zipStoreBase=GRADLE_USER_HOME
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 250 bytes
    - Viewed (0)
  10. .teamcity/.mvn/wrapper/maven-wrapper.properties

    distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 218 bytes
    - Viewed (0)
Back to top