Skip to content

Commit 709496c

Browse files
committed
add automated git submodule init
1 parent e3b9096 commit 709496c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,13 @@ dependencies {
3434

3535
compile files('lib/args4j-2.32.jar', 'lib/jcommon-0.9.1.jar', 'lib/jfreechart-0.9.16.jar')
3636
}
37+
38+
task submodulesUpdate(type:Exec) {
39+
description 'Updates (and inits) git submodules'
40+
commandLine 'git', 'submodule', 'update', '--init', '--recursive'
41+
group 'Build Setup'
42+
}
43+
44+
task build
45+
46+
build.dependsOn submodulesUpdate

0 commit comments

Comments
 (0)