comparison init.gradle @ 87:be111b66cdc6

fix publishlocal task
author smith@nwoca.org
date Tue, 14 Feb 2012 15:52:29 -0500
parents f36eeb411845
children b72ba5cb5c53
comparison
equal deleted inserted replaced
86:da29f9bde0da 87:be111b66cdc6
80 mavenRepo name: 'ssdt-repo', url: "${ssdtArtifactory}/ssdt-repo" 80 mavenRepo name: 'ssdt-repo', url: "${ssdtArtifactory}/ssdt-repo"
81 81
82 } 82 }
83 83
84 if ( thisProject.repositories.find { it.name == 'local' } ) { 84 if ( thisProject.repositories.find { it.name == 'local' } ) {
85 // uploadArchives { 85 uploadArchives {
86 // repositories { 86 repositories {
87 // add thisProject.repositories.local 87 add thisProject.repositories.local
88 // } 88 }
89 // } 89 }
90 90
91 // task publishLocal(dependsOn: 'uploadArchives') { 91 thisProject.tasks.add("publishLocal") {
92 // description = "Publishes this projects artifacts to developer's local repository" 92 description = "Publishes this projects artifacts to developer's local repository"
93 // } 93 dependsOn = ["uploadArchives"]
94 94 }
95 } 95 }
96 } 96 }
97 } 97 }
98 } 98 }