Gradle: Compile Gradle models/model builders for plugins under JVM 1.6
This prevents imports failure in projects using older versions of Gradle
This commit is contained in:
@@ -3,6 +3,8 @@ description = "Kotlin AllOpen IDEA Plugin"
|
|||||||
|
|
||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
|
jvmTarget = "1.6"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(project(":kotlin-allopen-compiler-plugin"))
|
compile(project(":kotlin-allopen-compiler-plugin"))
|
||||||
compile(project(":compiler:util"))
|
compile(project(":compiler:util"))
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
|
|
||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
|
jvmTarget = "1.6"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(project(":compiler:util"))
|
compile(project(":compiler:util"))
|
||||||
compile(project(":compiler:frontend"))
|
compile(project(":compiler:frontend"))
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ description = "Kotlin NoArg IDEA Plugin"
|
|||||||
|
|
||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
|
jvmTarget = "1.6"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(project(":kotlin-noarg-compiler-plugin"))
|
compile(project(":kotlin-noarg-compiler-plugin"))
|
||||||
compile(project(":compiler:util"))
|
compile(project(":compiler:util"))
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ description = "Kotlin SamWithReceiver IDEA Plugin"
|
|||||||
|
|
||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
|
jvmTarget = "1.6"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(project(":kotlin-sam-with-receiver-compiler-plugin"))
|
compile(project(":kotlin-sam-with-receiver-compiler-plugin"))
|
||||||
compile(project(":plugins:annotation-based-compiler-plugins-ide-support"))
|
compile(project(":plugins:annotation-based-compiler-plugins-ide-support"))
|
||||||
|
|||||||
Reference in New Issue
Block a user