The project is Kotlin based Android application, which represents BrewDog beer catalogue fetch data from Punk API and store the data locally. In this application you can view the entire catalog of BrewDog kinds of beer, detailed information about each kind of beer.
Application follows MVVM pattern and use LiveData and ViewModel from Android Architecture Components.
- Kotlin 1.4.10
- Koin 2.0.1
- Retrofit 2.9.0
- OkHttp 4.7.2
- RxJava 2.2.19
- Picasso 2.71828
- Room 2.2.5
- Timber 4.7.1
Run Gradle from the root directory of the project to build it.
./gradlew build
After completion there will be two directories in app/build/outputs/apk with apk files for debug and release.
In order to run unit tests:
./gradlew clean test
In order to run android instrumentation tests (please make sure you have device connected or emulator running):
./gradlew connectedAndroidTest
If you want to install app to your device/emulator, run:
./gradlew installDebug