changeset 87:be111b66cdc6

fix publishlocal task
author smith@nwoca.org
date Tue, 14 Feb 2012 15:52:29 -0500
parents da29f9bde0da
children 9f2ab59a5333
files init.gradle
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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"]
+                }
             }          
         }
     }