We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22bbcd0 commit d33f503Copy full SHA for d33f503
build.gradle.kts
@@ -1,3 +1,4 @@
1
+import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
4
plugins {
@@ -14,8 +15,8 @@ allprojects {
14
15
apply(plugin = "org.jetbrains.kotlin.jvm")
16
17
tasks.withType(KotlinCompile::class.java) {
- kotlinOptions {
18
- jvmTarget = jvmVersion
+ compilerOptions {
19
+ jvmTarget = JvmTarget.fromTarget(jvmVersion)
20
}
21
22
@@ -53,8 +54,7 @@ allprojects {
53
54
},
55
)
56
trimTrailingWhitespace()
- indentWithTabs(2)
57
- indentWithSpaces(4)
+ leadingTabsToSpaces(4)
58
endWithNewline()
59
ktlint()
60
0 commit comments