description = 'Contains the bits and pieces behind robstoll\'s <rstoll@tutteli.ch> implementation ' +
    'of Atrium for the JS platform. You should only depend on this module if you are ' +
    'providing an implementation as well and want to reuse certain artifacts. If you are a consumer of ' +
    'Atrium, then you should depend on atrium-core-robstoll instead.'

dependencies {
    implementation "ch.tutteli.kbox:kbox-js:$kbox_version", excludeKotlin
    api prefixedProject('core-api-js')

    // it is up to the consumer of atrium-core-robstoll-lib which atrium-translations module is used at runtime
    compileOnly prefixedProject('translations-en_GB-js')

    testImplementation prefixedProject('api-fluent-en_GB-js')
    testImplementation prefixedProject('specs-js')
}

//TODO 0.17.0 or 0.18.0 should not be necessary https://youtrack.jetbrains.com/issue/KT-27797
compileTestKotlin2Js.dependsOn(
    prefixedProject('core-robstoll-js').jar,
    prefixedProject('domain-robstoll-js').jar,
    prefixedProject('domain-builders-js').jar
)
