Skip to content

Commit 5f65e19

Browse files
author
Abduqodiri Qurbonzoda
committed
Set :plugin Kotlin apiVersion to "1.4" which corresponds to the Kotlin embedded in Gradle
1 parent baaabd8 commit 5f65e19

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugin/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ sourceSets {
6666
}
6767

6868
compileKotlin {
69-
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
69+
kotlinOptions {
70+
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
71+
apiVersion = "1.4" // the version of Kotlin embedded in Gradle
72+
}
7073
}
7174

7275
dependencies {

0 commit comments

Comments
 (0)