// Template for a new, dedicated Konture architecture-test module's
// build.gradle.kts. Copy into e.g. :konture-test/build.gradle.kts and adjust
// version catalog aliases or literal coordinates as needed.
//
// NOTE: Apply the Konture settings plugin (id("io.github.baole.konture")) in
// settings.gradle.kts. It automatically configures Konture across subprojects.
// Do NOT add project(":...") dependencies for production modules here.
// Konture automatically discovers project layout and source files across
// all subprojects via plugin artifact sharing.

plugins {
    kotlin("jvm")
}

dependencies {
    // Konture assertion library.
    testImplementation(libs.konture)

    // Reuse the target project's existing test framework dependency from catalog/build files
    // (e.g. libs.junit.jupiter, libs.kotest.runner.junit5, libs.kotlin.test, etc.).
    // Do NOT force-add JUnit 5 if the project standardizes on Kotest, JUnit 4, or another framework.
    testImplementation(libs.junit.jupiter.api) // Replace with project's actual test lib
    testRuntimeOnly(libs.junit.jupiter.engine) // Replace/remove to match project
}

tasks.test {
    useJUnitPlatform() // Match project's test runner config
}
