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
+12 -1
View File
@@ -3,12 +3,23 @@ apply { plugin("kotlin") }
jvmTarget = "1.6"
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
dependencies {
compile(project(":compiler:util"))
compile(project(":compiler:frontend"))
compile(ideaSdkCoreDeps("trove4j", "intellij-core"))
}
afterEvaluate {
dependencies {
compile(intellijCoreJar())
compile(intellij { include("trove6j.jar")} )
}
}
sourceSets {
"main" { projectDefault() }
"test" {}
+10 -1
View File
@@ -1,11 +1,20 @@
apply { plugin("kotlin") }
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
dependencies {
compile(project(":compiler:util"))
compile(project(":js:js.ast"))
compile(project(":js:js.translator"))
compile(ideaSdkCoreDeps("intellij-core"))
}
afterEvaluate {
dependencies {
compile(intellijCoreJar())
}
}
sourceSets {
+10 -1
View File
@@ -3,13 +3,22 @@ apply { plugin("kotlin") }
jvmTarget = "1.6"
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
dependencies {
compile(project(":compiler:util"))
compile(project(":compiler:frontend"))
compile(project(":js:js.ast"))
compile(project(":js:js.parser"))
compile(project(":js:js.serializer"))
compile(ideaSdkCoreDeps("intellij-core"))
}
afterEvaluate {
dependencies {
compile(intellijCoreJar())
}
}
sourceSets {
+10 -1
View File
@@ -1,10 +1,19 @@
apply { plugin("kotlin") }
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
dependencies {
compile(project(":compiler:util"))
compile(project(":js:js.ast"))
compile(ideaSdkCoreDeps("intellij-core"))
}
afterEvaluate {
dependencies {
compile(intellijCoreJar())
}
}
sourceSets {
+10 -1
View File
@@ -3,12 +3,21 @@ apply { plugin("kotlin") }
jvmTarget = "1.6"
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
dependencies {
compile(project(":compiler:util"))
compile(project(":compiler:frontend"))
compile(project(":compiler:serialization"))
compile(project(":js:js.ast"))
compile(ideaSdkCoreDeps("intellij-core"))
}
afterEvaluate {
dependencies {
compile(intellijCoreJar())
}
}
sourceSets {
+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() }
+10 -1
View File
@@ -8,6 +8,10 @@ apply { plugin("kotlin") }
jvmTarget = "1.6"
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
dependencies {
compile(project(":core:descriptors"))
compile(project(":compiler:util"))
@@ -16,7 +20,12 @@ dependencies {
compile(project(":js:js.ast"))
compile(project(":js:js.frontend"))
compile(project(":js:js.parser"))
compile(ideaSdkCoreDeps("intellij-core"))
}
afterEvaluate {
dependencies {
compile(intellijCoreJar())
}
}
sourceSets {