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
568 B
Kotlin
1 line
568 B
Kotlin
import org.jetbrains.kotlin.gradle.dsl.Coroutines
|
|
|
|
apply {
|
|
plugin("kotlin")
|
|
}
|
|
|
|
dependencies {
|
|
compile(project(":examples:scripting-jvm-maven-deps:script"))
|
|
compile(project(":kotlin-scripting-jvm-host"))
|
|
compile(projectDist(":kotlin-stdlib"))
|
|
compile(projectDist(":kotlin-reflect"))
|
|
compileOnly(project(":compiler:util"))
|
|
runtime(projectDist(":kotlin-compiler"))
|
|
testCompile(commonDep("junit"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
kotlin {
|
|
experimental.coroutines = Coroutines.ENABLE
|
|
}
|