Skip to content

Commit 4f6f6b0

Browse files
authored
fix: Missing kotlin compiler config (#9755)
1 parent ff79486 commit 4f6f6b0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

dd-java-agent/agent-ci-visibility/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
3+
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
24

35
plugins {
46
id 'com.gradleup.shadow'
@@ -53,3 +55,11 @@ tasks.named("compileTestGroovy") {
5355
" otherwise anonymous class has one `loadClass` accessor's signature has `java.lang.Module`"
5456
)
5557
}
58+
59+
kotlin {
60+
compilerOptions {
61+
jvmTarget = JvmTarget.JVM_1_8
62+
apiVersion = KotlinVersion.KOTLIN_1_6
63+
languageVersion = KotlinVersion.KOTLIN_1_6
64+
}
65+
}

0 commit comments

Comments
 (0)