https://github.com/longdt57/Android-Compose
- Clone the project
- Run the project with Android Studio
- Lint:
$ ./gradlew lint
Report is located at: ./app/build/reports/lint/
- Detekt
$ ./gradlew detekt
Report is located at: ./build/reports/detekt
- Run unit testing:
$ ./gradlew app:testStagingDebugUnitTest
- Run unit testing with coverage:
$ ./gradlew :app:koverHtmlReport
Report is located at: app/build/reports/kover/
For release builds, we need to provide release keystore and signing properties:
- Put the
release.keystorefile at rootconfigfolder. - Put keystore signing properties in
signing.properties
- Add google-credentials-firebase-distribution.json to the the project
- Gradlew: Run command
sh tools/app-distribution.shto upload the app to Firebase