- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for configureRepositoryCredentials (0.44 sec)
-
platforms/software/resources-sftp/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishSftpIntegrationTest.groovy
given: def ivySftpRepo = getIvySftpRepo(m2Compatible) def module = ivySftpRepo.module("org.group.name", "publish", "2") settingsFile << 'rootProject.name = "publish"' configureRepositoryCredentials("sftp", "sftp", "ivy") buildFile << """ apply plugin: 'java' apply plugin: 'ivy-publish' version = '2' group = 'org.group.name'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 8.1K bytes - Viewed (0) -
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) -
platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpIntegTest.groovy
given: org.gradle.api.credentials.PasswordCredentials credentials = new DefaultPasswordCredentials('testuser', 'password') configureRepositoryCredentials(credentials.username, credentials.password, "ivy") buildFile << publicationBuild(version, group, ivyHttpRepo.uri) and: server.authenticationScheme = authScheme
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 21.8K bytes - Viewed (0) -
platforms/software/resources-sftp/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishSftpIntegrationTest.groovy
def "can publish to a SFTP repository"() { given: def mavenSftpRepo = getMavenSftpRepo() def module = mavenSftpRepo.module('org.group.name', 'publish', '2').withModuleMetadata() configureRepositoryCredentials("sftp", "sftp", "maven") settingsFile << 'rootProject.name = "publish"' buildFile << """ apply plugin: 'java' apply plugin: 'maven-publish' version = '2'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.2K bytes - Viewed (0) -
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) -
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) -
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)