Clean unused dependencies, minor refactorings

This commit is contained in:
Ilya Chernikov
2017-08-22 16:23:42 +02:00
parent 27968c8e13
commit 3e46c59187
29 changed files with 90 additions and 397 deletions
+9 -15
View File
@@ -1,16 +1,19 @@
import org.gradle.jvm.tasks.Jar
description = "Kotlin Android Lint"
apply { plugin("java") }
apply { plugin("java-base") }
val projectsToShadow = listOf(
":plugins:lint",
":plugins:uast-kotlin",
":plugins:uast-kotlin-idea")
tasks.withType<Jar> {
setupRuntimeJar("Kotlin Android Lint")
archiveName = "android-lint.jar"
sourceSets {
"main" {}
"test" {}
}
runtimeJar {
projectsToShadow.forEach {
dependsOn("$it:classes")
project(it).let { p ->
@@ -21,13 +24,4 @@ tasks.withType<Jar> {
}
}
sourceSets {
"main" {}
"test" {}
}
val jar: Jar by tasks
ideaPlugin {
from(jar)
}
ideaPlugin()