Skip to content

Commit 86941df

Browse files
committed
Merge branch '2.1.x' of github.com:grails/grails-core into 2.1.x
2 parents 3f121de + 3f80de2 commit 86941df

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

build.gradle

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -217,22 +217,7 @@ subprojects { project ->
217217

218218
uploadPublished {
219219
repositories {
220-
final url = project.version.endsWith("SNAPSHOT") ? "http://repo.grails.org/grails/libs-snapshots-local" :
221-
"http://repo.grails.org/grails/libs-releases-local"
222-
223220
repositories {
224-
mavenDeployer {
225-
repository(url: url) {
226-
final username = project.hasProperty("artifactoryPublishUsername") ? project.artifactoryPublishUsername : null
227-
final password = project.hasProperty("artifactoryPublishPassword") ? project.artifactoryPublishPassword : null
228-
229-
if(username && password) {
230-
org.apache.ivy.util.url.CredentialsStore.INSTANCE.addCredentials("Artifactory Realm", "repo.grails.org", username, password);
231-
}
232-
233-
authentication(userName: username, password: password)
234-
}
235-
}
236221
project.ext.deployer = mavenDeployer {
237222
beforeDeployment { MavenDeployment deployment -> signPom(deployment) }
238223

0 commit comments

Comments
 (0)