import au.com.coherentsoftware.gradle.mercurial.task.* buildscript { repositories { mavenCentral() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:0.9.+' classpath 'au.com.coherentsoftware.gradle:Gradle-MercurialMqPlugin:1.1.0+' } } allprojects { repositories { mavenCentral() } } apply plugin: 'mercurial-mq' task cloneIcsOpenVPN( type: HgClone ) { sourceUrl = 'https://code.google.com/p/ics-openvpn/' workingDir = '.' } task updateIcsOpenVPN( type: HgUpdate ) { workingDir = 'ics-openvpn' branch = 'default' }