description = 'Contains the bits and pieces behind robstoll\'s <rstoll@tutteli.ch> implementation' +
    'of the domain of Atrium for the JVM 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-domain-robstoll instead.'

ext.jacoco_additional = [
    prefixedProject('core-robstoll-jvm'),
    prefixedProject('core-robstoll-lib-jvm'),
]

dependencies {
    api prefixedProject('domain-builders-jvm')

    implementation niok()

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

    testImplementation prefixedProject('specs-jvm')
}

//TODO should not be necessary https://youtrack.jetbrains.com/issue/KT-28124
compileTestKotlin.dependsOn(
    prefixedProject('core-robstoll-jvm').compileKotlin,
    prefixedProject('core-robstoll-jvm').processResources,
    prefixedProject('domain-robstoll-jvm').compileKotlin,
    prefixedProject('domain-robstoll-jvm').processResources
)
