40 lines
No EOL
1.4 KiB
Groovy
40 lines
No EOL
1.4 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'kotlin'
|
|
id 'kotlin-kapt'
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
events 'started', 'passed', 'skipped', 'failed'
|
|
exceptionFormat "full"
|
|
showStandardStreams true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
|
|
|
|
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
|
|
implementation "com.squareup.retrofit2:converter-moshi:$retrofit_version"
|
|
implementation "com.squareup.moshi:moshi:$moshi_version"
|
|
kapt "com.squareup.moshi:moshi-kotlin-codegen:$moshi_version"
|
|
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp_version"
|
|
api "io.insert-koin:koin-core:$koin_version"
|
|
|
|
api project(":model")
|
|
|
|
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"
|
|
testImplementation project(':mockserver')
|
|
testImplementation "io.insert-koin:koin-test-junit5:$koin_version"
|
|
testImplementation "org.skyscreamer:jsonassert:$testing_json_assert_version"
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$testing_junit5_version"
|
|
} |