Skip to content

murattuzel/Catch-Some-Z-s

Repository files navigation

GitHub Actions

Caution

Android Gradle Plugin version 7.0.0 and upwards require Java 11 to run. Possible solutions for the issue.

Development

To maintain the style and quality of the code, are used the bellow static analysis tools. All of them use properly configuration and you find them in the project root directory config/{toolName}.

Tools Config file Check command Fix command
detekt detekt.yml ./gradlew detekt -
ktlint - ./gradlew ktlint ./gradlew ktlintFormat
spotless - ./gradlew spotlessCheck ./gradlew spotlessApply
lint lint.xml ./gradlew lint -

All gradle tasks are integrated in pre-commit git hook, in order ensure that all static analysis and tests passes before you can commit your changes. To skip them for specific commit add this option at your git command:

git commit --no-verify

It's highly recommended to fix broken code styles. There is a gradle task which execute ktlintFormat and spotlessApply for you:

./gradlew reformat

Tech Stack

Dependencies

Plugins

  • Detekt: Static code analysis for Kotlin
  • Spotless: Keep your code spotless
  • Ktlint: Kotlin linter
  • Lint: Static program analysis tools

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published