Convert the rest of the project to intellij repo prepared in buildSrc
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
e23b1529b3
commit
7e21573cf4
@@ -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 {
|
||||
|
||||
@@ -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() }
|
||||
|
||||
Reference in New Issue
Block a user