- 100% Kotlin-only project.
- Coroutine, Jetpack compose, Hilt, Flow, AndroidX,MVVM, Junit Tests.
- 100% Gradle Kotlin DSL setup.
- Dependency versions managed via
buildSrc
. - CI Setup with GitHub Actions.
- Kotlin Static Analysis via
ktlint
.
This project is using Gradle Kotlin DSL as well as the Plugin DSL to setup the build.
Dependencies are centralized inside the buildSrc folder. This provides convenient auto-completion when writing your gradle files.
This project is using ktlint to format your code. To reformat all the source code as well as the buildscript you can run
# Run lint and display issues
./gradlew ktlintCheck
To fix the issues, run:
# Run lint and try to fix issues automatically (not all issues are fixable this way)
./gradlew ktlintFormat
There are currently the following workflows available:
- Android Pull Request & Master CI - Will run the
build
,check
andassembleDebug
tasks.
Pull the code on this branch, import into Android Studio, from there you can run it like a standard android project project or run ./gradlew assembleDebug. Further notes can be found here https://developer.android.com/studio/build/building-cmdline#DebugMode