description = 'The domain logic of Atrium as common module.'

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

    // it is up to the consumer which atrium-translations module is used at runtime
    compileOnly prefixedProject('translations-en_GB-common')

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


apply from: "$project.projectDir/../generateLogic.gradle"
def generateLogic = createGenerateLogicTask(project, "impls")
compileKotlinCommon.dependsOn(generateLogic)

sourceSets {
    main.kotlin.srcDirs += generatedFolder
}
