mirror of
https://github.com/MinimalBible/jsword-minimalbible
synced 2024-11-22 07:58:20 -05:00
4f03086a36
Also add a FilterUtil class to JSword
20 lines
452 B
Groovy
20 lines
452 B
Groovy
configurations {
|
|
buildJSword
|
|
}
|
|
|
|
task doBuildJSword (type: GradleBuild) {
|
|
buildFile = 'jsword-stub.gradle'
|
|
tasks = ['clean', 'ivy.check', 'ivy.download', 'ivy.task', 'ivy',
|
|
'init', 'mergeCode', 'compile', 'jar'] //, 'copyJarsToMinimalBible']
|
|
ext.outputJar = file('distribution/jsword.jar')
|
|
outputs.upToDateWhen {
|
|
ext.outputJar.exists()
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
buildJSword(doBuildJSword.ext.outputJar) {
|
|
builtBy doBuildJSword
|
|
}
|
|
}
|