|
|
|
@ -66,17 +66,18 @@ detekt {
|
|
|
|
|
// Configure UI tests plugin
|
|
|
|
|
// Read more: https://github.com/JetBrains/intellij-ui-test-robot
|
|
|
|
|
tasks {
|
|
|
|
|
// Set the compatibility versions to 1.8
|
|
|
|
|
withType<JavaCompile> {
|
|
|
|
|
sourceCompatibility = "1.8"
|
|
|
|
|
targetCompatibility = "1.8"
|
|
|
|
|
}
|
|
|
|
|
withType<KotlinCompile> {
|
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
withType<Detekt> {
|
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
|
// Set the JVM compatibility versions
|
|
|
|
|
properties("javaVersion").let {
|
|
|
|
|
withType<JavaCompile> {
|
|
|
|
|
sourceCompatibility = it
|
|
|
|
|
targetCompatibility = it
|
|
|
|
|
}
|
|
|
|
|
withType<KotlinCompile> {
|
|
|
|
|
kotlinOptions.jvmTarget = it
|
|
|
|
|
}
|
|
|
|
|
withType<Detekt> {
|
|
|
|
|
jvmTarget = it
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
wrapper {
|
|
|
|
|