@@ -230,10 +230,45 @@ with:
230230
231231## Deployment
232232
233+ ### To get the build server ready to build/deploy FirebaseUI-Android
234+
235+ * Install a JDK (if it's not installed yet):
236+ * ` sudo apt-get install default-jdk `
237+ * Run ` ./gradlew ` (which will install gradle if it's not yet installed)
238+ * Install the Android SDK tool for Linux
239+ * ` wget http://dl.google.com/android/android-sdk_r22.0.5-linux.tgz `
240+ * ` tar -xvzf android-sdk_r22.0.5-linux.tgz `
241+ * Add the android SDK path to ` .bashrc ` :
242+ * ` export ANDROID_HOME=~/android-sdk-linux/ `
243+ * ` export PATH=$PATH:~/android-sdk-linux/tools `
244+ * Install the Android SDK needed for FirebaseUI
245+ * ` android update sdk -u `
246+ * ` android list sdk --all `
247+ * ` android update sdk -u --all --filter platform-tools,android-22,extra-android-support `
248+ * ` android update sdk --no-ui --filter extra `
249+ * The Android aapt tool is 32-bit only. If the machine is 64-bit, we'll need to install some compatibility libraries:
250+ * ` uname -a `
251+ * > Linux puf 3.16.0-45-generic #60 ~ 14.04.1-Ubuntu SMP Fri Jul 24 21:16:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
252+ * ` sudo apt-get install lib32stdc++6 `
253+ * ` sudo apt-get install lib32z1 `
254+ * Run ` ./gradlew ` to ensure it loads/parses the project
255+ * Now run a build ` ./gradlew build `
256+ * Set up for signing and uploading the aar
257+ * ` vi ~/.gradle/gradle.properties `
258+ signing.keyId=94B86DB8
259+ signing.password=PrivateKeyPassword
260+ signing.secretKeyRingFile=/path/to/gpg/secring.gpg
261+
262+ sonatypeRepo=https://oss.sonatype.org/service/local/staging/deploy/maven2/
263+ sonatypeUsername=YourSonatypeJiraUsername
264+ sonatypePassword=YourSonatypeJiraPassword
265+
266+
267+ ### to build/deploy
268+
233269* log onto the build box
234- * ensure that appcompat-v7 and recyclerview-v7 are in the local maven
235270* checkout and update the master branch
236- * ` ./release.sh ` to build the client and update maven
271+ * ` ./release.sh ` to build the library and update maven
237272* close/release the repository from sonatype
238273
239274## Contributor License Agreements
0 commit comments