changeset 230:e902c107f5db

apply release rules only to root project
author smith@nwoca.org
date Fri, 29 Jul 2016 19:13:59 +0100
parents e63c2f7761a6
children ce34e62224cf
files init20.gradle
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/init20.gradle	Mon Jul 11 13:20:13 2016 +0100
+++ b/init20.gradle	Fri Jul 29 19:13:59 2016 +0100
@@ -342,6 +342,10 @@
         }
     }
 
+}
+
+rootProject.afterEvaluate {
+
     tasks.addRule("release{Major|Minor|Patch|n.n.n}: create release branch") { String taskName ->
 
         def matcher = (taskName =~ /^release(Major|Minor|Patch|\d{1,3}\.\d{1,3}\.\d{1,3})$/)