summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle16
1 files changed, 10 insertions, 6 deletions
diff --git a/build.gradle b/build.gradle
index 2103b009..90e75752 100644
--- a/build.gradle
+++ b/build.gradle
@@ -20,16 +20,20 @@ allprojects {
apply plugin: 'mercurial-mq'
task cloneIcsOpenVPN( type: HgClone ) {
- sourceUrl = 'https://code.google.com/p/ics-openvpn/'
- workingDir = '.'
+ ext.srcFile = file('build.gradle')
+ ext.destDir = new File('.', 'ics-openvpn')
+ inputs.file srcFile
+ outputs.dir destDir
+
+ sourceUrl = 'https://code.google.com/p/ics-openvpn/'
}
task updateIcsOpenVPN( type: HgUpdate, dependsOn: 'pullIcsOpenVPN' ) {
- workingDir = 'ics-openvpn'
- branch = 'default'
+ workingDir = 'ics-openvpn'
+ branch = 'default'
}
task pullIcsOpenVPN( type: HgPull ) {
- sourceUrl = 'https://code.google.com/p/ics-openvpn/'
- workingDir = 'ics-openvpn'
+ sourceUrl = 'https://code.google.com/p/ics-openvpn/'
+ workingDir = 'ics-openvpn'
} \ No newline at end of file