5bde9720b7
Dependencies on :kotlin-compiler should never be used in configurations which are imported transitively because ide fails to import it as project dependency. When :kotlin-compiler dependency is imported as kotlin-compiler.jar dependency ide re-indexes it on every change. This behaviour is super annoying. #KT-31120 Fixed
24 lines
552 B
Kotlin
24 lines
552 B
Kotlin
|
|
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
dependencies {
|
|
compile(project(":examples:scripting-jvm-maven-deps"))
|
|
compile(project(":kotlin-scripting-jvm-host"))
|
|
compile(kotlinStdlib())
|
|
compileOnly(project(":kotlin-reflect-api"))
|
|
compileOnly(project(":compiler:util"))
|
|
|
|
testRuntimeOnly(project(":kotlin-compiler"))
|
|
testRuntimeOnly(project(":kotlin-reflect"))
|
|
testRuntimeOnly(project(":kotlin-scripting-compiler"))
|
|
|
|
testCompile(commonDep("junit"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|