From acec2483441b08d680c824ad20a7e6ad57cfdd36 Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Mon, 19 Aug 2024 15:03:20 +0300 Subject: [PATCH] [Build] Fix JPS import after 116e795b --- libraries/tools/kotlin-gradle-plugin/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/tools/kotlin-gradle-plugin/build.gradle.kts b/libraries/tools/kotlin-gradle-plugin/build.gradle.kts index c00909d2e999b..f0af51c790b28 100644 --- a/libraries/tools/kotlin-gradle-plugin/build.gradle.kts +++ b/libraries/tools/kotlin-gradle-plugin/build.gradle.kts @@ -289,6 +289,7 @@ tasks { } } GradlePluginVariant.values().forEach { variant -> + if (kotlinBuildProperties.isInJpsBuildIdeaSync) return@forEach val sourceSet = sourceSets.getByName(variant.sourceSetName) val taskSuffix = sourceSet.jarTaskName.capitalize() val shadowJarTaskName = "$EMBEDDABLE_COMPILER_TASK_NAME$taskSuffix"