// Template for a 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: 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")
    alias(libs.plugins.konture) // or id("io.github.baole.konture")
}

dependencies {
    // Konture itself — confirm the alias/coordinates against
    // gradle/libs.versions.toml or Maven Central for the latest version.
    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
}
