From 5e4803a488581eebaa0c7cbca1267a4d7fa4924d Mon Sep 17 00:00:00 2001 From: Yuriy Artamonov Date: Sun, 29 Dec 2019 22:13:33 +0300 Subject: [PATCH] Gradle task for copying Kotlin plugin to debug instance of IDEs GitOrigin-RevId: 4fa99e870e7b956f49dd9cfee8ef7931ece5c460 --- build/dependencies/setupKotlin.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/dependencies/setupKotlin.gradle b/build/dependencies/setupKotlin.gradle index 4fb4304de149..1f519de5a997 100644 --- a/build/dependencies/setupKotlin.gradle +++ b/build/dependencies/setupKotlin.gradle @@ -18,4 +18,9 @@ dependencies { task setupKotlinPlugin(dependsOn: configurations.kotlinPlugin, type: Sync) { from zipTree(configurations.kotlinPlugin.singleFile) into "${project.buildDir}/kotlin" +} + +task deployKotlinPlugin(dependsOn: setupKotlinPlugin, type: Sync) { + from file("${project.buildDir}/kotlin") + into "${System.getProperty("idea.config.path")}/plugins/" } \ No newline at end of file