Convert js modules to intellij plugin

This commit is contained in:
Ilya Chernikov
2017-11-02 14:18:21 +01:00
committed by Vyacheslav Gerasimov
parent 74411d9b9c
commit 8266777bd5
7 changed files with 71 additions and 7 deletions
+9 -1
View File
@@ -12,6 +12,8 @@ node {
apply { plugin("kotlin") }
configureIntellijPlugin()
dependencies {
testCompile(protobufFull())
testCompile(projectTests(":compiler:tests-common"))
@@ -21,7 +23,6 @@ dependencies {
testCompile(project(":js:js.translator"))
testCompile(project(":js:js.serializer"))
testCompile(project(":js:js.dce"))
testCompile(ideaSdkDeps("openapi", "idea", "idea_rt"))
testCompile(commonDep("junit:junit"))
testCompile(projectTests(":kotlin-build-common"))
testCompile(projectTests(":generators:test-generator"))
@@ -34,6 +35,13 @@ dependencies {
testRuntime(commonDep("org.fusesource.jansi", "jansi"))
}
afterEvaluate {
dependencies {
testCompile(intellij { include("openapi.jar", "idea.jar", "idea_rt.jar") })
}
}
sourceSets {
"main" {}
"test" { projectDefault() }