# HG changeset patch # User smith@nwoca.org # Date 1329252749 18000 # Node ID be111b66cdc6e7d7cbd1a491e61d8f0ff38be333 # Parent da29f9bde0da52ca60826b79e2e1bec95114f8cf fix publishlocal task diff -r da29f9bde0da -r be111b66cdc6 init.gradle --- a/init.gradle Tue Feb 14 15:41:45 2012 -0500 +++ b/init.gradle Tue Feb 14 15:52:29 2012 -0500 @@ -82,16 +82,16 @@ } if ( thisProject.repositories.find { it.name == 'local' } ) { - // uploadArchives { - // repositories { - // add thisProject.repositories.local - // } - // } + uploadArchives { + repositories { + add thisProject.repositories.local + } + } -// task publishLocal(dependsOn: 'uploadArchives') { -// description = "Publishes this projects artifacts to developer's local repository" -// } - + thisProject.tasks.add("publishLocal") { + description = "Publishes this projects artifacts to developer's local repository" + dependsOn = ["uploadArchives"] + } } } }