28 lines
No EOL
851 B
Groovy
28 lines
No EOL
851 B
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'kotlin'
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions {
|
|
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
|
|
|
|
api project(":model")
|
|
implementation project(":network")
|
|
|
|
testImplementation "io.insert-koin:koin-test-junit5:$koin_version"
|
|
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
|
|
testImplementation "org.mockito.kotlin:mockito-kotlin:$testing_kotlin_mockito_version"
|
|
testImplementation "org.junit.jupiter:junit-jupiter-engine:$testing_junit5_version"
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$testing_junit5_version"
|
|
} |