comparison init.gradle @ 139:998693eba42e

handle stub subprojects which only contain other subprojects
author smith@nwoca.org
date Tue, 24 Sep 2013 16:15:38 +0100
parents 23e24ef3cd6b
children 615ef3a8f0b8
comparison
equal deleted inserted replaced
138:23e24ef3cd6b 139:998693eba42e
234 } 234 }
235 235
236 236
237 } 237 }
238 238
239 if ( thisProject.repositories.find { it.name == 'local' } ) { 239 if ( thisProject.repositories.find { it.name == 'local' } && thisProject.getTasksByName('uploadArchives',false) ) {
240 uploadArchives { 240 uploadArchives {
241 repositories { 241 repositories {
242 add thisProject.repositories.local 242 add thisProject.repositories.local
243 } 243 }
244 } 244 }