201: uast-tests.jar new dependency (depend on whole idea in tests)
This commit is contained in:
committed by
Nikolay Krasko
parent
7a89bd9c90
commit
314474c33b
@@ -15,15 +15,15 @@ dependencies {
|
|||||||
// BEWARE: Uast should not depend on IDEA.
|
// BEWARE: Uast should not depend on IDEA.
|
||||||
compileOnly(intellijCoreDep()) { includeJars("intellij-core", "asm-all", rootProject = rootProject) }
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core", "asm-all", rootProject = rootProject) }
|
||||||
|
|
||||||
|
testCompileOnly(intellijDep())
|
||||||
|
|
||||||
if (Platform.P191.orLower()) {
|
if (Platform.P191.orLower()) {
|
||||||
compileOnly(intellijDep()) { includeJars("java-api", "java-impl") }
|
compileOnly(intellijDep()) { includeJars("java-api", "java-impl") }
|
||||||
testCompileOnly(intellijDep()) { includeJars("java-api", "java-impl") }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Platform.P192.orHigher()) {
|
if (Platform.P192.orHigher()) {
|
||||||
compileOnly(intellijDep()) { includeJars("platform-impl") }
|
compileOnly(intellijDep()) { includeJars("platform-impl") }
|
||||||
compileOnly(intellijPluginDep("java")) { includeJars("java-api", "java-impl") }
|
compileOnly(intellijPluginDep("java")) { includeJars("java-api", "java-impl") }
|
||||||
testCompileOnly(intellijDep()) { includeJars("platform-impl") }
|
|
||||||
testCompileOnly(intellijPluginDep("java")) { includeJars("java-api", "java-impl") }
|
testCompileOnly(intellijPluginDep("java")) { includeJars("java-api", "java-impl") }
|
||||||
testRuntime(intellijPluginDep("java"))
|
testRuntime(intellijPluginDep("java"))
|
||||||
}
|
}
|
||||||
@@ -35,8 +35,6 @@ dependencies {
|
|||||||
testCompile(project(":compiler:cli"))
|
testCompile(project(":compiler:cli"))
|
||||||
testCompile(projectTests(":idea:idea-test-framework"))
|
testCompile(projectTests(":idea:idea-test-framework"))
|
||||||
|
|
||||||
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
|
|
||||||
testCompile(project(":idea:idea-native")) { isTransitive = false }
|
testCompile(project(":idea:idea-native")) { isTransitive = false }
|
||||||
testCompile(project(":idea:idea-gradle-native")) { isTransitive = false }
|
testCompile(project(":idea:idea-gradle-native")) { isTransitive = false }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user