Make the switch to gradle!

1) ABS is now published as an AAR, so we can eliminate all local
   dependencies and bundled jars.

2) Upgrade to ABS 4.4.0 (The Last Release) and deal with the loss
   of Sherlock.Dialog by faking it with our own themes.

3) Remove all traces of ant. The modern world is here.
This commit is contained in:
Moxie Marlinspike
2013-10-10 13:52:24 -07:00
parent 91dd558f7a
commit 1c8f8666ba
17 changed files with 160 additions and 56 deletions

View File

@@ -1,23 +1,9 @@
Building TextSecure
===================
Fetch ActionBarSherlock:
1. Ensure the 'Android Support Repository' is installed from the Android SDK manager.
1. Ensure gradle >= 1.8 is installed.
git clone git://github.com/JakeWharton/ActionBarSherlock.git ../ActionBarSherlock
pushd ../ActionBarSherlock && git checkout 4.2.0 && popd
Execute Gradle:
Configure ActionBarSherlock for your android target:
android update project --path ../ActionBarSherlock/library --target 1
Configure TextSecure for your android target, linking to ASB:
android update project --path . --target 1 --library ../ActionBarSherlock/library
Finally, both codebases must share the android-support jar. As TextSecure's is newer, use it:
cp libs/android-support-v4.jar ../ActionBarSherlock/library/libs/android-support-v4.jar
Assuming your android toolchain is correctly configured, it should now be possible to build the TextSecure apk.
ant debug
gradle build