mirror of
https://github.com/home-assistant/android
synced 2024-09-19 16:11:37 +00:00
195bc9601c
* Reload UI if the base url has changed. AKA changed from remote/local. * Linting. * Now we don't rebuild dagger every time we change urls. Need to fix tests. * Test and comment.
36 lines
1.2 KiB
Groovy
36 lines
1.2 KiB
Groovy
apply plugin: 'java'
|
|
apply plugin: 'kotlin'
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
test {
|
|
useJUnitPlatform {
|
|
includeEngines 'spek2'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':domain')
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
|
|
|
|
implementation 'javax.inject:javax.inject:1'
|
|
|
|
implementation "com.squareup.retrofit2:retrofit:$retrofit2Version"
|
|
implementation "com.squareup.retrofit2:converter-jackson:$retrofit2Version"
|
|
implementation "com.squareup.okhttp3:okhttp:$okhttp3Version"
|
|
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp3Version"
|
|
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonVersion"
|
|
|
|
implementation "org.threeten:threetenbp:$threeTenBpVersion"
|
|
|
|
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp3Version"
|
|
|
|
testImplementation "org.spekframework.spek2:spek-dsl-jvm:$spek2Version"
|
|
testRuntimeOnly "org.spekframework.spek2:spek-runner-junit5:$spek2Version"
|
|
testImplementation "org.assertj:assertj-core:$assertJVersion"
|
|
testImplementation "io.mockk:mockk:$mockkVersion"
|
|
}
|