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))
|
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
application
|
application
|
||||||
}
|
}
|
||||||
@@ -36,6 +37,8 @@ dependencies {
|
|||||||
testCompile("junit:junit:4.12")
|
testCompile("junit:junit:4.12")
|
||||||
compile(kotlinModule("stdlib-jre8", kotlin_version))
|
compile(kotlinModule("stdlib-jre8", kotlin_version))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// VERSION: $VERSION$
|
||||||
val compileKotlin: KotlinCompile by tasks
|
val compileKotlin: KotlinCompile by tasks
|
||||||
compileKotlin.kotlinOptions {
|
compileKotlin.kotlinOptions {
|
||||||
jvmTarget = "1.8"
|
jvmTarget = "1.8"
|
||||||
@@ -44,5 +47,3 @@ val compileTestKotlin: KotlinCompile by tasks
|
|||||||
compileTestKotlin.kotlinOptions {
|
compileTestKotlin.kotlinOptions {
|
||||||
jvmTarget = "1.8"
|
jvmTarget = "1.8"
|
||||||
}
|
}
|
||||||
|
|
||||||
// VERSION: $VERSION$
|
|
||||||
@@ -13,6 +13,7 @@ buildscript {
|
|||||||
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
application
|
application
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ buildscript {
|
|||||||
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
application
|
application
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import org.gradle.api.JavaVersion.VERSION_1_7
|
|||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
val kotlin_version: String by extra
|
val kotlin_version: String by extra
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
var kotlin_version: String by extra
|
var kotlin_version: String by extra
|
||||||
kotlin_version = "$VERSION$"
|
kotlin_version = "$VERSION$"
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ buildscript {
|
|||||||
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
application
|
application
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user