Skip to content
Snippets Groups Projects
Commit 3e849c7c authored by Parménides GV's avatar Parménides GV
Browse files

Update git submodules recursively from ./gradlew updateIcs

parent 0b396ae4
Branches
Tags
No related merge requests found
...@@ -185,19 +185,8 @@ task copyIcsOpenVPNFiles( type: Copy ) { ...@@ -185,19 +185,8 @@ task copyIcsOpenVPNFiles( type: Copy ) {
removeDuplicatedStrings.execute() removeDuplicatedStrings.execute()
} }
task updateIcsOpenVpn( type: Copy ) { task updateIcsOpenVpn( type: Exec ) {
// Check out ics-openvpn bitmask branch commandLine 'git', 'submodule', 'update', '--init', '--recursive'
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/**')
copyIcsOpenVPNFiles.execute() copyIcsOpenVPNFiles.execute()
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment