Files
kotlin-fork/libraries/examples/scripting/jvm-simple-script/build.gradle.kts
T
Ilya Chernikov 3732422e6a Add example scripting hosts with tests:
the simple scripting host and the one with maven resolving
2018-04-04 16:23:54 +02:00

1 line
505 B
Kotlin

import org.jetbrains.kotlin.gradle.dsl.Coroutines
apply {
plugin("kotlin")
}
dependencies {
compile(project(":kotlin-script-runtime"))
compile(project(":kotlin-scripting-jvm-host"))
compile(project(":kotlin-script-util"))
compileOnly(project(":compiler:util"))
runtime(projectDist(":kotlin-compiler"))
testCompile(commonDep("junit"))
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
kotlin {
experimental.coroutines = Coroutines.ENABLE
}