Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for configureRepositoryCredentials (0.3 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpIntegTest.groovy

            given:
            buildFile << publicationBuildWithCredentialsProvider(version, group, mavenRemoteRepo.uri)
            PasswordCredentials credentials = new DefaultPasswordCredentials('username', 'password')
            configureRepositoryCredentials(credentials.username, credentials.password)
    
            server.authenticationScheme = authScheme
    
            expectPublishModuleWithCredentials(module, credentials)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy

                        password '${password}'
                    }
                """
            } else {
                credentialsBlock = "credentials(PasswordCredentials)"
                configureRepositoryCredentials(username, password, repositoryName)
            }
            buildFile buildFileConfiguration("""
                repositories {
                    ivy {
                        name "${repositoryName}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMavenPublishIntegrationTest.groovy

                        password '${password}'
                    }
                """
            } else {
                credentialsBlock = "credentials(PasswordCredentials)"
                configureRepositoryCredentials(username, password, repositoryName)
            }
            buildFile buildFileConfiguration("""
                repositories {
                    maven {
                        name "${repositoryName}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            return new MavenFileRepository(file(repo))
        }
    
        public MavenLocalRepository mavenLocal(Object repo) {
            return new MavenLocalRepository(file(repo))
        }
    
        protected configureRepositoryCredentials(String username, String password, String repositoryName = "maven") {
            // configuration property prefix - the identity - is determined from the repository name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top