Rename composite tasks to use camelCase convention

This commit is contained in:
Ilya Gorbunov
2017-09-12 00:40:42 +03:00
committed by Ilya Chernikov
parent 6fc3f269a6
commit 8ec5cc7d16
2 changed files with 116 additions and 38 deletions
+10 -1
View File
@@ -142,13 +142,22 @@ val jar = runtimeJar(task<ShadowJar>("shadowJar")) {
val ideaPluginDir: File by rootProject.extra
val ideaUltimatePluginDir: File by rootProject.extra
task<Copy>("idea-ultimate-plugin") {
task<Copy>("ideaUltimatePlugin") {
dependsOnTaskIfExistsRec("idea-plugin", rootProject)
into(ideaUltimatePluginDir)
from(ideaPluginDir) { exclude("lib/kotlin-plugin.jar") }
from(jar, { into("lib") })
}
task("idea-ultimate-plugin") {
dependsOn("ideaUltimatePlugin")
doFirst { logger.warn("'$name' task is deprecated, use '${dependsOn.last()}' instead") }
}
task("ideaUltimatePluginTest") {
dependsOn("check")
}
projectTest {
dependsOn(prepareResources)
dependsOn(preparePluginXml)