Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 892 Bytes

README.md

File metadata and controls

41 lines (32 loc) · 892 Bytes

Template kotlin project

To check build and test project:

./gradlew codeChecks
./gradlew buildChecks

Features:

  1. Diktat custom ruleset
  2. buildSrc with common libraries
  3. kts build files
  4. pre-configured .gitignore file

Plugins

  1. Refresh versions
  2. Dependencies health check
./gradlew buildHealth

For each module set fail on excessive dependencies:

// https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/wiki/Customizing-plugin-behavior
dependencyAnalysis {
    issues {
        ignoreKtx(true)
        onAny {
            severity("fail")
            exclude(
                "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
            )
        }
    }
}