2014-04-30 22:27:35 -04:00
|
|
|
configurations {
|
|
|
|
buildJSword
|
|
|
|
}
|
|
|
|
|
|
|
|
task doBuildJSword (type: GradleBuild) {
|
|
|
|
buildFile = 'jsword-stub.gradle'
|
|
|
|
tasks = ['clean', 'ivy.check', 'ivy.download', 'ivy.task', 'ivy',
|
|
|
|
'init', 'mergeCode', 'compile', 'jar'] //, 'copyJarsToMinimalBible']
|
2014-05-05 00:53:32 -04:00
|
|
|
ext.outputJar = file('distribution/jsword.jar')
|
|
|
|
outputs.upToDateWhen {
|
|
|
|
ext.outputJar.exists()
|
|
|
|
}
|
2014-05-03 23:19:44 -04:00
|
|
|
}
|
|
|
|
|
2014-04-30 22:27:35 -04:00
|
|
|
artifacts {
|
2014-04-30 23:46:14 -04:00
|
|
|
buildJSword(doBuildJSword.ext.outputJar) {
|
2014-05-05 00:53:32 -04:00
|
|
|
builtBy doBuildJSword
|
2014-04-30 23:46:14 -04:00
|
|
|
}
|
2014-04-30 22:27:35 -04:00
|
|
|
}
|