Convert the rest of the project to intellij repo prepared in buildSrc

This commit is contained in:
Ilya Chernikov
2017-12-08 23:19:21 +01:00
committed by Vyacheslav Gerasimov
parent e23b1529b3
commit 7e21573cf4
55 changed files with 451 additions and 997 deletions
+5 -12
View File
@@ -1,10 +1,6 @@
apply { plugin("kotlin") }
configureIntellijPlugin {
setExtraDependencies("jps-build-test")
}
dependencies {
compile(protobufFull())
compile(project(":idea"))
@@ -40,19 +36,16 @@ dependencies {
compile(projectTests(":plugins:uast-kotlin"))
compile(projectTests(":js:js.tests"))
compile(projectTests(":generators:test-generator"))
compileOnly(intellijDep("jps-build-test"))
compileOnly(project(":kotlin-reflect-api"))
testCompile(project(":idea:idea-test-framework")) { isTransitive = false }
testCompile(project(":compiler:incremental-compilation-impl"))
testCompile(commonDep("junit:junit"))
testRuntime(projectDist(":kotlin-reflect"))
}
testCompile(intellijDep("jps-build-test"))
afterEvaluate {
dependencies {
compileOnly(intellijExtra("jps-build-test"))
testCompile(intellijExtra("jps-build-test"))
testRuntime(intellij { include("idea_rt.jar") })
}
testRuntime(intellijDep()) { includeJars("idea_rt") }
testRuntime(projectDist(":kotlin-reflect"))
}
sourceSets {
+1 -8
View File
@@ -3,21 +3,14 @@ apply { plugin("kotlin") }
jvmTarget = "1.6"
configureIntellijPlugin()
dependencies {
compile(intellijDep()) { includeJars("util") }
testCompile(project(":core:util.runtime"))
testCompile(projectTests(":compiler:tests-common"))
testCompile(projectDist(":kotlin-stdlib"))
testCompile(commonDep("junit:junit"))
}
afterEvaluate {
dependencies {
compile(intellij { include("util.jar") })
}
}
sourceSets {
"main" { }
"test" { projectDefault() }