Gradle: Compile Gradle models/model builders under JVM 1.6

This prevents imports failure in projects using older versions of Gradle

 #KT-21610 Fixed
This commit is contained in:
Alexey Sedunov
2017-12-05 21:04:28 +03:00
parent a1a1972a04
commit 9ed0b49746
3 changed files with 6 additions and 0 deletions
@@ -3,6 +3,8 @@ description = "Kotlin Gradle Tooling support"
apply { plugin("kotlin") }
jvmTarget = "1.6"
dependencies {
compile(projectDist(":kotlin-stdlib"))
compile(project(":compiler:cli-common"))
@@ -3,6 +3,8 @@ description = "Kotlin Android Extensions IDEA"
apply { plugin("kotlin") }
jvmTarget = "1.6"
dependencies {
compile(project(":compiler:util"))
compile(project(":compiler:light-classes"))
@@ -1,6 +1,8 @@
apply { plugin("kotlin") }
jvmTarget = "1.6"
dependencies {
compile(projectDist(":kotlin-stdlib"))
compile(project(":compiler:frontend"))