Skip to content

Commit fb2b971

Browse files
committed
Update Kotlin versions
1 parent ac298fa commit fb2b971

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

atomicfu-gradle-plugin/build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ apply plugin: 'java-gradle-plugin'
77

88
apply from: rootProject.file('gradle/compile-options.gradle')
99

10-
ext.configureKotlin()
10+
// Gradle plugin must be compiled targeting the same Kotlin version as used by Gradle
11+
kotlin.sourceSets.all {
12+
languageSettings {
13+
apiVersion = "1.3"
14+
languageVersion = "1.3"
15+
}
16+
}
1117

1218
dependencies {
1319
compile gradleApi()

gradle/compile-options.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
ext.configureKotlin = {
77
kotlin.sourceSets.all {
88
languageSettings {
9-
apiVersion = "1.3"
10-
languageVersion = "1.3"
9+
apiVersion = "1.4"
10+
languageVersion = "1.4"
1111
useExperimentalAnnotation("kotlin.Experimental")
1212
useExperimentalAnnotation("kotlin.ExperimentalStdlibApi")
1313
}

0 commit comments

Comments
 (0)