This repository is an example Android application based on Rails tutorial app.
- Kotlin 100% without kapt
- Kodein as Dependency Injection
- RxJava / RxAndroid
- RxBinding
- Retrofit
- Robolectric for testing model layer
- Espresso for testing presentation layer
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 testDebugUnitTest
./gradlew connectedAndroidTest
Release build.
cp yourkey app/myreleasekey.jks
export KSTOREPWD=yourpass
export KEYPWD=yourpass
./gradlew assembleRelease
Under construction...