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:1.0.0-beta.1")
}

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

dependencies {
    testImplementation "com.lemonappdev:konsist:1.0.0-beta.1"
}

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

<dependency>
    <groupId>com.lemonappdev</groupId>
    <artifactId>konsist</artifactId>
    <version>1.0.0-beta.1</version>
    <scope>test</scope>
</dependency>

See Compatibility to learn how Konsist integrates with the Kotlin ecosystem.

To achieve better test separation Konsist can be configured inside a custom konsistTest source set or a dedicated konsistTest module. See Isolate Konsist Tests for guidelines on how to store Konsist tests in the project codebase and how to run them from the command line.

Last updated