Skip to content

Commit cdc94bd

Browse files
committed
Use stable build tools, add steps for getting build server ready for grade
1 parent 5672871 commit cdc94bd

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,28 @@ Et voila: a minimal, yet fully functional, chat app in about 30 lines of code. N
222222

223223
## Deployment
224224

225+
### To get the build server ready to build/deploy FirebaseUI-Android
226+
227+
* Install a JDK (if it's not installed yet):
228+
* `sudo apt-get install default-jdk`
229+
* Run gradlew (which will install gradle if it's not yet installed)
230+
* Install the Android SDK tool for Linux
231+
* `wget http://dl.google.com/android/android-sdk_r22.0.5-linux.tgz`
232+
* `tar -xvzf android-sdk_r22.0.5-linux.tgz`
233+
* Add the android SDK path to `.bashrc`:
234+
* `export ANDROID_HOME=~/android-sdk-linux/`
235+
* `export PATH=$PATH:~/android-sdk-linux/tools`
236+
* Install the Android SDK needed for FirebaseUI
237+
* `android update sdk -u`
238+
* `android list sdk --all`
239+
* `android update sdk -u --all --filter platform-tools,android-22,extra-android-support`
240+
* `android update sdk --no-ui --filter extra`
241+
242+
### to build/deploy
243+
225244
* log onto the build box
226-
* ensure that appcompat-v7 and recyclerview-v7 are in the local maven
227245
* checkout and update the master branch
228-
* `./release.sh` to build the client and update maven
246+
* `./release.sh` to build the library and update maven
229247
* close/release the repository from sonatype
230248

231249
## Contributor License Agreements

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 22
5-
buildToolsVersion "23.0.0 rc2"
5+
buildToolsVersion "22.0.1"
66

77
defaultConfig {
88
applicationId "com.firebase.firebaseui_android"

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22

33
android {
44
compileSdkVersion 22
5-
buildToolsVersion "23.0.0 rc2"
5+
buildToolsVersion "22.0.1"
66

77
defaultConfig {
88
minSdkVersion 10

0 commit comments

Comments
 (0)