Fix JSR-223 and scripting samples dependencies

This commit is contained in:
Ilya Chernikov
2019-03-03 12:22:03 +01:00
parent 60b3fa3b07
commit 8a8de052a3
3 changed files with 7 additions and 7 deletions
@@ -22,8 +22,8 @@ dependencies {
testCompile(commonDep("junit:junit"))
testCompile(project(":kotlin-test:kotlin-test-junit"))
testRuntime(project(":kotlin-reflect"))
compilerClasspath(projectRuntimeJar(":kotlin-compiler-embeddable"))
compilerClasspath(projectRuntimeJar(":kotlin-scripting-compiler-embeddable"))
compilerClasspath(project(":kotlin-compiler-embeddable"))
compilerClasspath(project(":kotlin-scripting-compiler-embeddable"))
compilerClasspath(project(":kotlin-reflect"))
compilerClasspath(kotlinStdlib())
compilerClasspath(project(":kotlin-script-runtime"))
@@ -14,16 +14,16 @@ pill {
dependencies {
compile(kotlinStdlib())
compile(project(":kotlin-script-runtime"))
compile(projectRuntimeJar(":kotlin-compiler-embeddable"))
compile(project(":kotlin-compiler-embeddable"))
compile(project(":kotlin-script-util"))
runtime(projectRuntimeJar(":kotlin-scripting-compiler-embeddable"))
runtime(project(":kotlin-scripting-compiler-embeddable"))
testCompile(project(":kotlin-test:kotlin-test-junit"))
testCompile(commonDep("junit:junit"))
testRuntime(project(":kotlin-reflect"))
compileOnly(project(":compiler:cli-common")) // TODO: fix import (workaround for jps build)
testCompileOnly(project(":core:util.runtime")) // TODO: fix import (workaround for jps build)
testCompileOnly(project(":compiler:daemon-common")) // TODO: fix import (workaround for jps build)
testRuntime(projectRuntimeJar(":kotlin-scripting-compiler-embeddable"))
testRuntime(project(":kotlin-scripting-compiler-embeddable"))
}
projectTest()
@@ -7,8 +7,8 @@ dependencies {
compile(project(":examples:scripting-jvm-simple-script"))
compileOnly(project(":kotlin-scripting-jvm-host"))
compile(project(":kotlin-script-util"))
testRuntimeOnly(projectRuntimeJar(":kotlin-compiler-embeddable"))
testRuntimeOnly(projectRuntimeJar(":kotlin-scripting-compiler-embeddable"))
testRuntimeOnly(project(":kotlin-compiler-embeddable"))
testRuntimeOnly(project(":kotlin-scripting-compiler-embeddable"))
testRuntimeOnly(project(":kotlin-scripting-jvm-host-embeddable"))
testRuntimeOnly(project(":kotlin-reflect"))
testRuntimeOnly(intellijDep()) { includeJars("guava", rootProject = rootProject) }