# HG changeset patch # User smith@nwoca.org # Date 1328898149 18000 # Node ID fa7b349201eb7d8011cc90212ca070d2b197d535 # Parent 9c551ecc816afe0aa6d22ef808e39df100605fe5 add descriptions to tasks diff -r 9c551ecc816a -r fa7b349201eb init.gradle --- 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" + } }