Skip to content

vorobeij/kotlin-app-template

Repository files navigation

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"
            )
        }
    }
}

About

Base Intellij kotlin project template

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published