From 3e849c7cbe847d9260dee7a29b241c8aef185f6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Thu, 4 Jun 2015 23:29:47 +0200 Subject: Update git submodules recursively from ./gradlew updateIcs --- app/build.gradle | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'app/build.gradle') diff --git a/app/build.gradle b/app/build.gradle index 7a03ceee..0f73442c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -185,19 +185,8 @@ task copyIcsOpenVPNFiles( type: Copy ) { removeDuplicatedStrings.execute() } -task updateIcsOpenVpn( type: Copy ) { - // Check out ics-openvpn bitmask branch - def ics_openvpn_path = project.relativePath('./ics-openvpn/') - def app_path = project.relativePath('./app/') - def grgit = Grgit.open(currentDir: ics_openvpn_path) - grgit.checkout(branch: 'bitmask') - // TODO Right now we can't do a git submodule init, - // DON'T FORGET TO DO IT FOR THE FIRST TIME - - // from ics_openvpn_path - // into app_path - // include('**/openvpn/**', '**/openssl/**', '**/lzo/**', '**/jni/**', '**/misc/**', '**/ovpn3/**', '**/snappy/**') - +task updateIcsOpenVpn( type: Exec ) { + commandLine 'git', 'submodule', 'update', '--init', '--recursive' copyIcsOpenVPNFiles.execute() } -- cgit v1.2.3