plugins {
    id 'org.jetbrains.kotlin.jvm'
}

dependencies {
    testImplementation project(path: ':core-deterministic', configuration: 'deterministicArtifacts')
    testImplementation project(path: ':serialization-deterministic', configuration: 'deterministicArtifacts')
    testImplementation project(path: ':core-deterministic:testing:verifier', configuration: 'deterministicArtifacts')
    testImplementation project(path: ':core-deterministic:testing:data', configuration: 'testData')
    testImplementation(project(':finance:contracts')) {
        transitive = false
    }
    testImplementation(project(':finance:workflows')) {
        transitive = false
    }

    testImplementation "org.slf4j:slf4j-api:$slf4j_version"
    testRuntimeOnly "org.apache.logging.log4j:log4j-slf4j-impl:$log4j_version"
    testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
    testImplementation "org.assertj:assertj-core:$assertj_version"
    testImplementation "junit:junit:$junit_version"
    testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junit_vintage_version}"
    testRuntimeOnly "org.junit.platform:junit-platform-launcher:${junit_platform_version}"
}

// This module has no artifact and only contains tests.
tasks.named('jar', Jar) {
    enabled = false
}