Update configure tests after binding comments and spaces to script body
This commit is contained in:
@@ -14,6 +14,7 @@ buildscript {
|
||||
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
application
|
||||
}
|
||||
@@ -36,6 +37,8 @@ dependencies {
|
||||
testCompile("junit:junit:4.12")
|
||||
compile(kotlinModule("stdlib-jre8", kotlin_version))
|
||||
}
|
||||
|
||||
// VERSION: $VERSION$
|
||||
val compileKotlin: KotlinCompile by tasks
|
||||
compileKotlin.kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
@@ -43,6 +46,4 @@ compileKotlin.kotlinOptions {
|
||||
val compileTestKotlin: KotlinCompile by tasks
|
||||
compileTestKotlin.kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
|
||||
// VERSION: $VERSION$
|
||||
}
|
||||
@@ -13,6 +13,7 @@ buildscript {
|
||||
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
application
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ buildscript {
|
||||
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
application
|
||||
}
|
||||
@@ -38,4 +39,4 @@ compileKotlin.kotlinOptions {
|
||||
val compileTestKotlin: KotlinCompile by tasks
|
||||
compileTestKotlin.kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@ import org.gradle.api.JavaVersion.VERSION_1_7
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
val kotlin_version: String by extra
|
||||
|
||||
buildscript {
|
||||
var kotlin_version: String by extra
|
||||
kotlin_version = "$VERSION$"
|
||||
@@ -41,4 +42,4 @@ compileKotlin.kotlinOptions {
|
||||
val compileTestKotlin: KotlinCompile by tasks
|
||||
compileTestKotlin.kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
}
|
||||
@@ -12,6 +12,7 @@ buildscript {
|
||||
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
application
|
||||
}
|
||||
@@ -39,4 +40,4 @@ compileKotlin.kotlinOptions {
|
||||
val compileTestKotlin: KotlinCompile by tasks
|
||||
compileTestKotlin.kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user