From 3138757d6618441aad2c4cb3b037fc3a73c4b01d Mon Sep 17 00:00:00 2001 From: Vyacheslav Gerasimov Date: Thu, 18 Apr 2019 21:48:08 +0300 Subject: [PATCH] Build: Add jps artifact for kotlin-compiler-client-embeddable --- .gitignore | 1 + .../kotlin_compiler_client_embeddable_jar.xml | 29 ------------------- gradle/jps.gradle.kts | 5 ++++ 3 files changed, 6 insertions(+), 29 deletions(-) delete mode 100644 .idea/artifacts/kotlin_compiler_client_embeddable_jar.xml diff --git a/.gitignore b/.gitignore index 013d6fde72a..2063f136b99 100644 --- a/.gitignore +++ b/.gitignore @@ -42,6 +42,7 @@ build/ .idea/artifacts/kotlin_daemon_client_jar.xml .idea/artifacts/kotlin_imports_dumper_compiler_plugin_jar.xml .idea/artifacts/kotlin_main_kts_jar.xml +.idea/artifacts/kotlin_compiler_client_embeddable_jar.xml kotlin-ultimate/ node_modules/ .rpt2_cache/ diff --git a/.idea/artifacts/kotlin_compiler_client_embeddable_jar.xml b/.idea/artifacts/kotlin_compiler_client_embeddable_jar.xml deleted file mode 100644 index 0282d7e2fb7..00000000000 --- a/.idea/artifacts/kotlin_compiler_client_embeddable_jar.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - $PROJECT_DIR$/out/artifacts/kotlin_compiler_client_embeddable_jar - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/gradle/jps.gradle.kts b/gradle/jps.gradle.kts index 9c227411170..2dc0574086c 100644 --- a/gradle/jps.gradle.kts +++ b/gradle/jps.gradle.kts @@ -61,6 +61,8 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) { kotlinPluginJar() + kotlinCompilerClientEmbeddableJar() + kotlinMainKtsJar() kotlinImportsDumperCompilerPluginJar() @@ -181,6 +183,9 @@ val jarArtifactProjects = listOf( "kotlin-reflect" ) +fun NamedDomainObjectContainer.kotlinCompilerClientEmbeddableJar() = + jarFromProject(project(":kotlin-compiler-client-embeddable")) + fun NamedDomainObjectContainer.kotlinMainKtsJar() = jarFromProject(project(":kotlin-main-kts"))