Implement simple "add to compilation" functionality for scripts

(incomplete import - scripts added to the compilation but not yet
imported into scope)
Base functionality needed for #KT-27960
This commit is contained in:
Ilya Chernikov
2018-11-16 16:13:50 +01:00
parent 57c12476d7
commit 729ebcac9b
13 changed files with 298 additions and 84 deletions
@@ -15,6 +15,7 @@ dependencies {
compileOnly(project(":compiler:cli"))
compileOnly(intellijCoreDep())
runtime(projectRuntimeJar(":kotlin-compiler"))
testCompile(projectTests(":compiler:tests-common"))
testCompile(commonDep("junit"))
}
@@ -27,3 +28,6 @@ standardPublicJars()
publish()
projectTest {
workingDir = rootDir
}