Add Konsist Dependency

Add Maven Central Repository

Add mavenCentral repository:

repositories {
    mavenCentral()
}

Add Konsist Dependency

To use Konsist, include the Konsist dependency from Maven Central:

Add the following dependency to the module\build.gradle.kts file:

dependencies {
    testImplementation("com.lemonappdev:konsist:0.17.3")
}

See Compatibilityto learn how Konsist integrates with Kotlin ecosystem.

To achieve better test separation Konsist can be configured inside a customkonsistTest source set or a dedicated konsistTest module. See Isolate Konsist Tests for guidelines on how to store Konsist test in project codebase and how to run them using cmd.

Last updated