summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 85eb20e0..2103b009 100644
--- a/build.gradle
+++ b/build.gradle
@@ -24,7 +24,12 @@ task cloneIcsOpenVPN( type: HgClone ) {
workingDir = '.'
}
-task updateIcsOpenVPN( type: HgUpdate ) {
+task updateIcsOpenVPN( type: HgUpdate, dependsOn: 'pullIcsOpenVPN' ) {
workingDir = 'ics-openvpn'
branch = 'default'
+}
+
+task pullIcsOpenVPN( type: HgPull ) {
+ sourceUrl = 'https://code.google.com/p/ics-openvpn/'
+ workingDir = 'ics-openvpn'
} \ No newline at end of file