This repository is an example Android application, which is based on Rails tutorial app.
Key components.
- Dagger 2
- Retrolambda
- RxJava / RxAndroid
- Retrofit 2
- Data Binding
- Robolectric 3
Prepare backend app.
git clone https://github.com/springboot-angular2-tutorial/boot-app.git
cd boot-app
mvn spring-boot:run
Configure API URL.
cp gradle.properties.example gradle.properties
# gradle.properties
micropost.apiUrl="Your API HERE"
Then, just run from Android Studio.
Testing.
./gradlew testDebug
Release build.
cp yourkey app/myreleasekey.jks
export KSTOREPWD=yourpass
export KEYPWD=yourpass
./gradlew assembleRelease
Under construction...