Skip to content

Commit

Permalink
Support building the library to reference external
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradlee Speice committed May 1, 2014
1 parent 2b091f4 commit 7e0eaee
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build.gradle
@@ -0,0 +1,15 @@
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')
}

artifacts {
buildJSword doBuildJSword.ext.outputJar
}
20 changes: 20 additions & 0 deletions jsword-minimalbible.iml
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="MinimalBible" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":jsword-minimalbible" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

1 change: 1 addition & 0 deletions jsword-stub.gradle
@@ -0,0 +1 @@
ant.importBuild('../jsword-minimalbible/build.xml')

0 comments on commit 7e0eaee

Please sign in to comment.