3732422e6a
the simple scripting host and the one with maven resolving
1 line
505 B
Kotlin
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
|
|
} |