2c3a50e4b3
- split into script def and host part - remove bad dependencies - organize it in a way that should be typical for user scenarios
1 line
484 B
Kotlin
1 line
484 B
Kotlin
import org.jetbrains.kotlin.gradle.dsl.Coroutines
|
|
|
|
apply {
|
|
plugin("kotlin")
|
|
}
|
|
|
|
dependencies {
|
|
compile(project(":examples:scripting-jvm-simple-script:script"))
|
|
compile(project(":kotlin-scripting-jvm-host"))
|
|
compile(project(":kotlin-script-util"))
|
|
runtime(projectDist(":kotlin-compiler"))
|
|
testCompile(commonDep("junit"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
kotlin {
|
|
experimental.coroutines = Coroutines.ENABLE
|
|
} |