Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 799 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 799 Bytes

db-android

An observable key/value database built on top of SQLCipher (SQLite)

Uses modified version of https://github.com/thegedge/java-radix-tree.

ktlint

This project is formatted and linted with ktlint using the ktlint-gradle plugin.

You can install the ktlint Intellij plugin for some support for linting within Android Studio.

Add Commit Hook

./gradlew addKtlintCheckGitPreCommitHook

This adds a pre commit hook that lints all staged files upon commit.

Manually Auto-format

./gradlew ktlintFormat

This auto-formats all Kotlin files in the project.

Manually Check

./gradlew ktlintCheck

This manually runs the linter against all Kotlin files in the project.