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
@@ -4,8 +4,6 @@ description = "Kotlin AllOpen Compiler Plugin"
apply { plugin("kotlin") }
dependencies {
val compileOnly by configurations
val runtime by configurations
compileOnly(ideaSdkCoreDeps("intellij-core"))
compileOnly(project(":compiler:plugin-api"))
compileOnly(project(":compiler:frontend"))
+4 -7
View File
@@ -1,9 +1,9 @@
import org.gradle.jvm.tasks.Jar
description = "Kotlin AllOpen IDEA Plugin"
apply { plugin("kotlin") }
dependencies {
val compile by configurations
compile(project(":kotlin-allopen-compiler-plugin"))
compile(project(":compiler:util"))
compile(project(":compiler:frontend"))
@@ -22,10 +22,7 @@ sourceSets {
"test" {}
}
runtimeJar()
val jar: Jar by tasks
ideaPlugin {
from(jar)
}
ideaPlugin()
@@ -1,15 +1,9 @@
import org.gradle.jvm.tasks.Jar
description = "Kotlin Android Extensions IDEA"
apply { plugin("kotlin") }
dependencies {
val compile by configurations
val compileOnly by configurations
val testCompile by configurations
val testCompileOnly by configurations
val testRuntime by configurations
compile(project(":compiler:util"))
compile(project(":compiler:light-classes"))
compile(project(":idea:idea-core"))
@@ -54,8 +48,6 @@ projectTest {
workingDir = rootDir
}
val jar: Jar by tasks
runtimeJar()
ideaPlugin {
from(jar)
}
ideaPlugin()
+3 -7
View File
@@ -1,10 +1,9 @@
import org.gradle.jvm.tasks.Jar
description = "Kotlin NoArg IDEA Plugin"
apply { plugin("kotlin") }
dependencies {
val compile by configurations
compile(project(":kotlin-noarg-compiler-plugin"))
compile(project(":compiler:util"))
compile(project(":compiler:frontend"))
@@ -25,9 +24,6 @@ sourceSets {
"test" {}
}
val jar: Jar by tasks
ideaPlugin {
from(jar)
}
runtimeJar()
ideaPlugin()
@@ -4,8 +4,6 @@ description = "Kotlin SamWithReceiver Compiler Plugin"
apply { plugin("kotlin") }
dependencies {
val compileOnly by configurations
val runtime by configurations
compileOnly(project(":compiler:frontend"))
compileOnly(project(":compiler:frontend.java"))
compileOnly(project(":compiler:plugin-api"))
@@ -1,9 +1,9 @@
import org.gradle.jvm.tasks.Jar
description = "Kotlin SamWithReceiver IDEA Plugin"
apply { plugin("kotlin") }
dependencies {
val compile by configurations
compile(project(":kotlin-sam-with-receiver-compiler-plugin"))
compile(project(":plugins:annotation-based-compiler-plugins-ide-support"))
compile(project(":compiler:util"))
@@ -19,10 +19,7 @@ sourceSets {
"test" {}
}
runtimeJar()
val jar: Jar by tasks
ideaPlugin {
from(jar)
}
ideaPlugin()
@@ -8,7 +8,6 @@ dependencies {
compile(project(":compiler:frontend.java"))
compile(project(":idea:ide-common"))
compile(project(":plugins:uast-kotlin"))
buildVersion()
}
sourceSets {