Skip to content

Commit 61389ea

Browse files
committed
Fix compile error.
1 parent 7e831fa commit 61389ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

trimindent-gradle-plugin/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13
plugins {
24
id("java-gradle-plugin")
35
kotlin("jvm")
@@ -18,6 +20,12 @@ buildConfig {
1820
buildConfigField("String", "KOTLIN_PLUGIN_VERSION", "\"${compilerPluginProject.version}\"")
1921
}
2022

23+
kotlin {
24+
compilerOptions {
25+
jvmTarget.set(JvmTarget.JVM_1_8)
26+
}
27+
}
28+
2129
gradlePlugin {
2230
plugins {
2331
create("TrimIndentGradlePlugin") {

0 commit comments

Comments
 (0)