adding a release task to gradle build
diff --git a/build.gradle b/build.gradle
index a757d72..76ed6d6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -138,4 +138,10 @@
     dependsOn publishMavenRepoImage
 }
 
+// Depending on the version of the apps this will either make a release or publish a snapshot
+task release (type: Exec) {
+    workingDir './apps'
+    commandLine 'mvn', 'clean', 'deploy'
+}
+
 tasks.addRule(new GitSubmoduleUpdateRule(project))