commit | 9c7e02883e06ef28bcda57e0c3e95ac717dd79e9 | [log] [tgz] |
---|---|---|
author | alshabib <alshabibi.ali@gmail.com> | Fri Jun 03 13:50:29 2016 -0700 |
committer | alshabib <alshabibi.ali@gmail.com> | Fri Jun 03 13:50:29 2016 -0700 |
tree | 0a8165fefa72151301b4272ffde5c5f1258162d3 | |
parent | 28a35f910d6ff9472e2b9c405e3985bf81e9260a [diff] |
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))