mirror of
https://github.com/home-assistant/android
synced 2024-09-20 00:21:32 +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.
24 lines
698 B
Groovy
24 lines
698 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'kotlin'
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
test {
|
|
useJUnitPlatform {
|
|
includeEngines 'spek2'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
|
|
|
|
implementation 'javax.inject:javax.inject:1'
|
|
|
|
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"
|
|
}
|