Make all dependencies to idea sdk intransitive

This commit is contained in:
Ilya Chernikov
2017-11-24 17:42:06 +01:00
committed by Vyacheslav Gerasimov
parent e76cd802d8
commit a4f28cd94f
65 changed files with 341 additions and 106 deletions
@@ -3,7 +3,9 @@ description = "Annotation Processor for Kotlin"
apply { plugin("kotlin") }
configureIntellijPlugin()
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
dependencies {
compile(project(":compiler:util"))
@@ -24,6 +26,9 @@ dependencies {
afterEvaluate {
dependencies {
compileOnly(intellijCoreJar())
compileOnly(intellij { include("asm-all.jar") })
testCompile(intellijCoreJar())
testCompile(intellij { include("idea.jar", "idea_rt.jar", "openapi.jar") })
}
}
+3 -3
View File
@@ -17,9 +17,9 @@ dependencies {
afterEvaluate {
dependencies {
compile(intellij { include("openapi.jar", "external-system-rt.jar") })
compile(intellijPlugin("gradle") { include("gradle-core-*.jar", "gradle-tooling-api-*.jar", "gradle.jar") })
compile(intellijPlugin("android") { include("android.jar", "android-common.jar", "sdklib.jar", "sdk-common.jar", "sdk-tools.jar") })
compileOnly(intellij { include("openapi.jar", "external-system-rt.jar", "util.jar") })
compileOnly(intellijPlugin("gradle") { include("gradle-core-*.jar", "gradle-tooling-api-*.jar", "gradle.jar") })
compileOnly(intellijPlugin("android") { include("android.jar", "android-common.jar", "sdklib.jar", "sdk-common.jar", "sdk-tools.jar") })
}
}