Implement basic support of the new scripting in the frontend and plugin

This commit is contained in:
Ilya Chernikov
2018-02-14 16:58:19 +01:00
parent 3732422e6a
commit 3f22e28a51
4 changed files with 86 additions and 9 deletions
@@ -1,3 +1,4 @@
import org.jetbrains.kotlin.gradle.dsl.Coroutines
plugins {
kotlin("jvm")
@@ -9,6 +10,8 @@ jvmTarget = "1.6"
dependencies {
compile(project(":compiler:util"))
compile(project(":compiler:frontend"))
compile(project(":kotlin-scripting-common"))
compile(project(":kotlin-scripting-jvm"))
compile(projectDist(":kotlin-stdlib"))
compileOnly(project(":kotlin-reflect-api"))
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false }
@@ -21,3 +24,6 @@ sourceSets {
"test" {}
}
kotlin {
experimental.coroutines = Coroutines.ENABLE
}