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
+5 -4
View File
@@ -32,12 +32,13 @@ dependencies {
afterEvaluate {
dependencies {
compileOnly(intellij { include("openapi.jar", "idea.jar") })
compileOnly(intellij { include("openapi.jar", "idea.jar", "util.jar", "extensions.jar", "asm-all.jar") })
compileOnly(intellijPlugins("junit", "gradle", "Groovy", "android",
"maven", // TODO: check whether it works in AS (it was marked optional before
"properties"))
testCompileOnly(intellij { include("idea_rt.jar") })
testCompile(intellijPlugins("junit", "gradle", "Groovy", "android", "maven", "properties"))
testRuntime(intellij())
compile(intellijPlugins("junit", "gradle", "Groovy", "android",
"maven", // TODO: check whether it works in AS (it was marked optional before
"properties"))
}
}