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'
77
88apply 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
1218dependencies {
1319 compile gradleApi()
Original file line number Diff line number Diff line change 66ext. 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 }
You can’t perform that action at this time.
0 commit comments