I\'m currently trying to transisiton a maven build to a Gradle build. The show stopper hurdle I\'ve hit is that our internal artifacts are deployed to an internal repositor
We use Artifactory and Ivy's CredentialsStore works fine.
repositories {
org.apache.ivy.util.url.CredentialsStore.INSTANCE.addCredentials(REALM, HOST, USER, PASSWORD);
mavenRepo urls: [ "http://repo.mycompany.com/repo" ]
}
To have each developer use a different username create a gradle.properties file that contains
HOST=repo.mycompany.com
REALM=My Company Realm
USER=theusername
PASSWORD={DESede}xyz123abc
The {DESede} encrypted password prefix may be a Artifactory specific convention.