mirror of
https://github.com/home-assistant/android
synced 2024-11-05 18:28:42 +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.
27 lines
653 B
Text
27 lines
653 B
Text
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)
|
|
}
|