Convert all compiler modules to intellij plugin

This commit is contained in:
Ilya Chernikov
2017-11-02 12:39:49 +01:00
committed by Vyacheslav Gerasimov
parent 6614695616
commit 74411d9b9c
10 changed files with 102 additions and 22 deletions
+9 -1
View File
@@ -3,6 +3,8 @@ description = "Kotlin Build Common"
apply { plugin("kotlin") }
configureIntellijPlugin()
dependencies {
compileOnly(project(":core:util.runtime"))
compileOnly(project(":compiler:util"))
@@ -11,7 +13,6 @@ dependencies {
compileOnly(project(":js:js.serializer"))
compileOnly(project(":js:js.frontend"))
compileOnly(project(":kotlin-reflect-api"))
compileOnly(ideaSdkDeps("util"))
testCompileOnly(project(":compiler:cli-common"))
testCompile(projectTests(":compiler:tests-common"))
testCompile(commonDep("junit:junit"))
@@ -21,6 +22,13 @@ dependencies {
testRuntime(projectDist(":kotlin-reflect"))
}
afterEvaluate {
dependencies {
compileOnly(intellij { include("util.jar") })
testCompileOnly(intellij { include("openapi.jar") })
}
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }