Mercurial > public > develkit
comparison init.gradle @ 82:c7cbf5e9db74
remove repos task
author | smith@nwoca.org |
---|---|
date | Thu, 09 Feb 2012 17:01:08 -0500 |
parents | 36b2fd9e3861 |
children | 9c551ecc816a |
comparison
equal
deleted
inserted
replaced
81:36b2fd9e3861 | 82:c7cbf5e9db74 |
---|---|
29 cleanLocal.onlyIf { | 29 cleanLocal.onlyIf { |
30 project.repositories.any { it.name == 'local' } | 30 project.repositories.any { it.name == 'local' } |
31 } | 31 } |
32 task publishLocal(dependsOn: 'uploadArchives') << { println "published to local repository" } | 32 task publishLocal(dependsOn: 'uploadArchives') << { println "published to local repository" } |
33 | 33 |
34 task repositories << { | |
35 repositories.each { | |
36 println " $it.name" | |
37 } | |
38 } | |
39 } | 34 } |
40 | 35 |
41 class ArtifactoryGradleSettings extends BuildAdapter implements BuildListener { | 36 class ArtifactoryGradleSettings extends BuildAdapter implements BuildListener { |
42 | 37 |
43 def void projectsEvaluated(Gradle gradle) { | 38 def void projectsEvaluated(Gradle gradle) { |