Make all dependencies to idea sdk intransitive
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
e76cd802d8
commit
a4f28cd94f
@@ -3,6 +3,8 @@ description = "Kotlin scripting support utilities"
|
||||
|
||||
apply { plugin("kotlin") }
|
||||
|
||||
configureIntellijPlugin()
|
||||
|
||||
dependencies {
|
||||
compile(project(":kotlin-stdlib"))
|
||||
compile(project(":kotlin-script-runtime"))
|
||||
@@ -22,6 +24,13 @@ dependencies {
|
||||
testRuntime("org.apache.maven:maven-core:3.0.3")
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
dependencies {
|
||||
compileOnly(intellij { include("openapi.jar", "util.jar") })
|
||||
testCompile(intellij { include("openapi.jar", "util.jar") })
|
||||
}
|
||||
}
|
||||
|
||||
projectTest()
|
||||
|
||||
runtimeJar()
|
||||
|
||||
Reference in New Issue
Block a user