mattttvaughn / chronicle

GNU General Public License v3.0
214 stars 58 forks source link

Chronicle Audiobook Player

The best Android Audiobook Player for Plex. Stream or download audiobooks hosted on your Plex server.

Features

Screenshots

Home screen Library screen Player

Useful Links

Developer Notes

Ktlint

Ktlint is a linting tool that is based on the kotlin style guide. It will validate and make sure that your code adheres to that style guide.

The ktlint gradle plugin adds the ktlintCheck and ktlintFormat tasks to gradle.

Ktlint check and format can be run on the code base by running the following commands in the root of the project.

./gradlew ktlintCheck
./gradlew ktlintFormat
Git hook

A git hook has also been added. This basically runs the ktlintCheck every time a user tries to commit. If it finds violations it prompts the user to run ktlintFormat and fix any inconsistencies with the style guide. The purpose of this is to make sure that everyone is adhering to the style guide and writing clean code.