diff init.gradle @ 84:fa7b349201eb

add descriptions to tasks
author smith@nwoca.org
date Fri, 10 Feb 2012 13:22:29 -0500
parents 9c551ecc816a
children f36eeb411845
line wrap: on
line diff
--- a/init.gradle	Thu Feb 09 17:19:06 2012 -0500
+++ b/init.gradle	Fri Feb 10 13:22:29 2012 -0500
@@ -18,7 +18,8 @@
 }
 
 allprojects {
-    task cleanLocal << {
+    task cleanLocal(description: "removes all artifacts from developer's local repository") << {
+
         def local = project.repositories.find { it.name == 'local' } 
         if ( local ) {                  
             logger.info "removing local repo: $it"
@@ -28,7 +29,9 @@
     cleanLocal.onlyIf { 
         project.repositories.any { it.name == 'local' }
     }    
-    task publishLocal(dependsOn: 'uploadArchives')  << { println "published to local repository" }
+    task publishLocal(dependsOn: 'uploadArchives') {
+        description = "Publishes this projects artifacts to developer's local repository"
+    }
     
 }