description = 'Provides specifications of Atrium (for the JVM platform) which can be reused by ' +
    'APIs and domain/core-implementations of Atrium, to verify that they fulfill the specification.'

dependencies {
    api prefixedProject('domain-api-jvm')
    api prefixedProject('core-api-jvm')
    api prefixedProject('domain-builders-jvm')
    // exclude this dependency in case you want to use another translation
    api prefixedProject('translations-en_GB-jvm')
    api prefixedProject('verbs-internal-jvm')
    api spekExtensions()
    api "io.mockk:mockk:$mockkVersion"

    implementation prefixedProject('api-fluent-en_GB-jvm')

    // exclude this dependency in case you want to use another implementation
    runtimeOnly prefixedProject('core-robstoll-jvm')
    runtimeOnly prefixedProject('domain-robstoll-jvm')
}

dependencies {
    //spek2 requires stdlib-jdk8 and kotlin-reflect
    runtimeOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
    runtimeOnly "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"

    api "org.spekframework.spek2:spek-dsl-jvm:$spek2Version", excludeKotlin
    runtimeOnly "org.spekframework.spek2:spek-runner-junit5:$spek2Version", excludeKotlin

    api mockito(), excludeKotlin
    api niok(), excludeKotlin
}

compileKotlin.kotlinOptions.languageVersion = '1.3'
