For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

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

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

Add the following dependency to the module\pom.xml file:

<dependency>
    <groupId>com.lemonappdev</groupId>
    <artifactId>konsist</artifactId>
    <version>0.17.3</version>
    <scope>test</scope>
</dependency>

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