Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for configureProxyHost (0.23 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractProxyResolveIntegrationTest.groovy

            buildFile << """
    repositories {
        maven { url "${repoServerUrl}" }
    }
    """
            when:
            proxyServer.configureProxy(executer, proxyScheme)
            proxyServer.configureProxyHost(executer, "http")
            proxyServer.configureProxyHost(executer, "https")
            module.allowAll()
    
            then:
            succeeds('listJars')
    
            and:
            proxyServer.requestCount == (tunnel ? 1 : 2)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/TestProxyServer.groovy

            configureProxyHost(executer, proxyScheme)
    
            if (userName) {
                executer.withArgument("-D${proxyScheme}.proxyUser=${userName}")
            }
            if (password) {
                executer.withArgument("-D${proxyScheme}.proxyPassword=${password}")
            }
        }
    
        void configureProxyHost(GradleExecuter executer, String proxyScheme) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top