Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for wrapperPassword (0.23 sec)

  1. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy

            given:
            server.withBasicAuthentication("username", "password")
            file("gradle.properties") << """
                systemProp.gradle.wrapperUser=username
                systemProp.gradle.wrapperPassword=password
            """.stripIndent()
            server.expect(server.get("/custom-dist.zip").sendFile(distribution.binDistribution))
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpIntegrationTest.groovy

            given:
            file("gradle.properties") << '''
                systemProp.gradle.wrapperUser=jdoe
                systemProp.gradle.wrapperPassword=changeit
            '''.stripIndent()
    
            and:
            server.withBasicAuthentication("jdoe", "changeit")
            server.expect(server.head("/$TEST_DISTRIBUTION_URL"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Download.java

                }
            }
        }
    
        private String calculateUserInfo(URI uri) {
            String username = systemProperties.get("gradle.wrapperUser");
            String password = systemProperties.get("gradle.wrapperPassword");
            if (username != null && password != null) {
                return username + ':' + password;
            }
            return uri.getUserInfo();
        }
    
        private String calculateUserAgent() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/build_environment.adoc

    systemProp.gradle.wrapperUser=myuser
    systemProp.gradle.wrapperPassword=mypassword
    ----
    
    === System properties reference
    
    For a quick reference, the following are _common_ system properties:
    
    `gradle.wrapperUser=(myuser)`:: Specify username to download Gradle distributions <<gradle_wrapper.adoc#sec:authenticated_download,from servers using HTTP Basic Authentication>>.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/reference/gradle_wrapper.adoc

    To specify the HTTP Basic Authentication credentials, add the following lines to the system properties file:
    
    [source,properties]
    ----
    systemProp.gradle.wrapperUser=username
    systemProp.gradle.wrapperPassword=password
    ----
    
    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.
    
    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