File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,13 @@ apply plugin: 'java-gradle-plugin'
7
7
8
8
apply from : rootProject. file(' gradle/compile-options.gradle' )
9
9
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
+ }
11
17
12
18
dependencies {
13
19
compile gradleApi()
Original file line number Diff line number Diff line change 6
6
ext. configureKotlin = {
7
7
kotlin. sourceSets. all {
8
8
languageSettings {
9
- apiVersion = " 1.3 "
10
- languageVersion = " 1.3 "
9
+ apiVersion = " 1.4 "
10
+ languageVersion = " 1.4 "
11
11
useExperimentalAnnotation(" kotlin.Experimental" )
12
12
useExperimentalAnnotation(" kotlin.ExperimentalStdlibApi" )
13
13
}
You can’t perform that action at this time.
0 commit comments