English | Русский
Simple boilerplate for android application. Basically, it is a template that I used in past 2020 year.
By default, it's configured to build APK files, instead of application bundle AAB, because it more convenient outside of Play Market.
Features:
- Design based on Material with bottom navigation and side drawer, backed by Jetpack Navigation library.
- Simple MVVM architecture based on Jetpack.
- DI support using Dagger with additional submodules support and simplified ViewModel injects.
- Preferences system and screen with day-night theme switch and additional templates.
- Easy to use common dependencies library in dependencies.gradle.
- CI ready.
- Clone this repository and remove or change remote.
git clone git@github.com:TheLongRunSmoke/android-boilerplate-2020.git
git remote rm origin
-
Change app package to you choice.
-
Rename application in app AndroidManifest.xml.
-
Set app parameters in project build.gradle, like package, build versions, e.t.c.
-
Check app module build.gradle and add/remove libraries, see dependencies.gradle for details.
-
Develop!
If you want to build release version, create keystore and set it up in keystore.properties.
Do not forget to remove keystore.properties from git index and uncomment it in .gitignore
git rm keystore.properties
Rise issues, if you have questions or support request.