Allow to use folders for gradle configuration tests
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
import org.gradle.api.JavaVersion.VERSION_1_7
|
||||
|
||||
val kotlin_version: String by extra
|
||||
buildscript {
|
||||
var kotlin_version: String by extra
|
||||
kotlin_version = "$VERSION$"
|
||||
repositories {
|
||||
maven {
|
||||
setUrl("http://dl.bintray.com/kotlin/kotlin-eap")
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
application
|
||||
}
|
||||
apply {
|
||||
plugin("kotlin")
|
||||
}
|
||||
|
||||
application {
|
||||
mainClassName = "samples.HelloWorld"
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
maven {
|
||||
setUrl("http://dl.bintray.com/kotlin/kotlin-eap")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testCompile("junit:junit:4.12")
|
||||
compile(kotlinModule("stdlib", kotlin_version))
|
||||
}
|
||||
|
||||
// VERSION: $VERSION$
|
||||
@@ -0,0 +1,19 @@
|
||||
import org.gradle.api.JavaVersion.VERSION_1_7
|
||||
|
||||
plugins {
|
||||
application
|
||||
}
|
||||
|
||||
application {
|
||||
mainClassName = "samples.HelloWorld"
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testCompile("junit:junit:4.12")
|
||||
}
|
||||
|
||||
// VERSION: 1.0.2-eap-14-IJ143-14
|
||||
Reference in New Issue
Block a user