Build: Copy uast to idea plugin as separate artifacts

This commit is contained in:
Vyacheslav Gerasimov
2018-05-07 18:57:37 +03:00
parent 8fda174fb0
commit e6f64519e4
8 changed files with 45 additions and 32 deletions
-1
View File
@@ -26,4 +26,3 @@ sourceSets {
}
"test" {}
}
+34
View File
@@ -0,0 +1,34 @@
plugins {
java
kotlin("jvm")
id("jps-compatible")
}
dependencies {
compile(project(":compiler:frontend"))
compile(project(":idea"))
compile(project(":idea:idea-jvm"))
compile(project(":idea:idea-core"))
compile(project(":idea:idea-android"))
compile(project(":plugins:uast-kotlin"))
compileOnly(project(":kotlin-android-extensions-runtime"))
compileOnly(intellijDep())
compileOnly(intellijPluginDep("android"))
}
sourceSets {
"main" {
java.srcDirs("android-annotations/src",
"lint-api/src",
"lint-checks/src",
"lint-idea/src")
}
"test" {}
}
runtimeJar {
archiveName = "android-lint.jar"
}
ideaPlugin()
@@ -19,3 +19,8 @@ sourceSets {
"test" {}
}
runtimeJar {
archiveName = "uast-kotlin-ide.jar"
}
ideaPlugin()
+2
View File
@@ -48,3 +48,5 @@ testsJar {}
projectTest {
workingDir = rootDir
}
ideaPlugin()
+2
View File
@@ -48,3 +48,5 @@ testsJar {}
projectTest {
workingDir = rootDir
}
ideaPlugin()
@@ -48,3 +48,5 @@ testsJar {}
projectTest {
workingDir = rootDir
}
ideaPlugin()