Switch first project to the new custom dependencies schema

This commit is contained in:
Ilya Chernikov
2017-12-07 22:17:50 +01:00
committed by Vyacheslav Gerasimov
parent 47507ad694
commit 6f21c36d68
7 changed files with 121 additions and 56 deletions
+9 -10
View File
@@ -1,11 +1,12 @@
apply { plugin("kotlin") }
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
//configureIntellijPlugin {
// setExtraDependencies("intellij-core")
//}
repositories {
intellijSdkRepo(project)
androidDxJarRepo(project)
}
@@ -33,13 +34,11 @@ dependencies {
testCompile(projectTests(":compiler:tests-common-jvm6"))
testCompileOnly(project(":kotlin-reflect-api"))
testCompile(commonDep("junit:junit"))
testCompile(androidDxJar())
}
afterEvaluate {
dependencies {
testCompile(intellijCoreJar())
testCompile(intellij { include("openapi.jar", "idea.jar", "idea_rt.jar", "guava-*.jar", "trove4j.jar", "picocontainer.jar", "asm-all.jar") })
testCompile(androidDxJar()) { isTransitive = false }
testCompile(intellijCoreDep()) { includeJars("intellij-core"); isTransitive = false }
testCompile(intellijDep()) {
includeJars("openapi", "idea", "idea_rt", "guava-21.0", "trove4j", "picocontainer", "asm-all")
isTransitive = false
}
}