mirror of
https://github.com/home-assistant/android
synced 2024-09-19 16:11:37 +00:00
f87ed32560
* Switch to using Kotlin in of groovy for the gradle configurations. * Gradle file cleanup. * Switch to using Kotlin in of groovy for the gradle configurations. * Gradle file cleanup. * Retrofit (and maybe others libs) requires java compile options 1.8, still backwards compatible. * Prep for release 1.9.0-XXX * Fix ktLint errors.
28 lines
653 B
Plaintext
28 lines
653 B
Plaintext
plugins {
|
|
id("java")
|
|
id("kotlin")
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform {
|
|
includeEngines("spek2")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(Config.Dependency.Kotlin.core)
|
|
implementation(Config.Dependency.Kotlin.coroutines)
|
|
|
|
implementation(Config.Dependency.Misc.javaxInject)
|
|
|
|
testImplementation(Config.Dependency.Testing.spek2Jvm)
|
|
testRuntimeOnly(Config.Dependency.Testing.spek2JUnit)
|
|
testImplementation(Config.Dependency.Testing.assertJ)
|
|
testImplementation(Config.Dependency.Testing.mockk)
|
|
}
|