From ffd086f0b497b6880514efd32efb2061d7e1d4a4 Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Fri, 11 Apr 2025 10:55:00 +0200 Subject: [PATCH] [kotlin] k2: move property to avoid module dependency ^KTIJ-33788 fixed GitOrigin-RevId: 0172e4db3468b22ebcd449bd27878b7e198a76d0 --- .../resources-en/messages/KotlinIdeaGradleBundle.properties | 1 - .../kotlin.gradle.scripting.shared.iml | 1 - .../resources/messages/KotlinGradleScriptingBundle.properties | 1 + .../gradle/scripting/shared/actions/ShowKotlinGradleDslLogs.kt | 3 +-- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/kotlin/gradle/gradle/resources-en/messages/KotlinIdeaGradleBundle.properties b/plugins/kotlin/gradle/gradle/resources-en/messages/KotlinIdeaGradleBundle.properties index 193f52bc3519..e76de523305e 100644 --- a/plugins/kotlin/gradle/gradle/resources-en/messages/KotlinIdeaGradleBundle.properties +++ b/plugins/kotlin/gradle/gradle/resources-en/messages/KotlinIdeaGradleBundle.properties @@ -16,7 +16,6 @@ error.text.support.requires.version={0} support requires version {1} or later of error.text.this.language.feature.requires.version=This language feature requires version {0} or later of the Kotlin runtime library. Please update the version in your build script. presentable.text.java.with.gradle=Java with Gradle text.couldn.t.configure.kotlin.gradle.plugin.automatically=Couldn't configure kotlin-gradle plugin automatically. -text.gradle.dsl.logs.cannot.be.found.automatically.see.how.to.find.logs=Gradle DSL Logs cannot be found automatically.
See how to find logs here. text.see.manual.installation.instructions=See manual installation instructions here. text.was.modified={0} was modified title.configure.kotlin.gradle.plugin=Configure Kotlin-Gradle Plugin diff --git a/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/kotlin.gradle.scripting.shared.iml b/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/kotlin.gradle.scripting.shared.iml index d084ccd25235..47991c79f930 100644 --- a/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/kotlin.gradle.scripting.shared.iml +++ b/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/kotlin.gradle.scripting.shared.iml @@ -20,7 +20,6 @@ - diff --git a/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/resources/messages/KotlinGradleScriptingBundle.properties b/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/resources/messages/KotlinGradleScriptingBundle.properties index ead28199bde8..d23f872e3551 100644 --- a/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/resources/messages/KotlinGradleScriptingBundle.properties +++ b/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/resources/messages/KotlinGradleScriptingBundle.properties @@ -64,3 +64,4 @@ notification.standalone.info=
\ standalone.scripts.settings.column.name=Path action.text.show.kotlin.gradle.dsl.logs.in=Show Kotlin Gradle DSL Logs in {0} action.Kotlin.Gradle.ShowDslLogs.text=Show Kotlin Gradle DSL Logs +text.gradle.dsl.logs.cannot.be.found.automatically.see.how.to.find.logs=Gradle DSL Logs cannot be found automatically.
See how to find logs here. diff --git a/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/src/org/jetbrains/kotlin/gradle/scripting/shared/actions/ShowKotlinGradleDslLogs.kt b/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/src/org/jetbrains/kotlin/gradle/scripting/shared/actions/ShowKotlinGradleDslLogs.kt index c8802f83852e..e7340138ac7a 100644 --- a/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/src/org/jetbrains/kotlin/gradle/scripting/shared/actions/ShowKotlinGradleDslLogs.kt +++ b/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.shared/src/org/jetbrains/kotlin/gradle/scripting/shared/actions/ShowKotlinGradleDslLogs.kt @@ -16,7 +16,6 @@ import com.intellij.openapi.util.SystemInfo import com.intellij.openapi.wm.WindowManager import com.intellij.psi.PsiFile import com.intellij.ui.BrowserHyperlinkListener -import org.jetbrains.kotlin.idea.gradle.KotlinIdeaGradleBundle import java.nio.file.Path import kotlin.io.path.Path import kotlin.io.path.exists @@ -51,7 +50,7 @@ class ShowKotlinGradleDslLogs : IntentionAction, AnAction(), DumbAware { JBPopupFactory.getInstance() .createHtmlTextBalloonBuilder( - KotlinIdeaGradleBundle.message( + KotlinGradleScriptingBundle.message( "text.gradle.dsl.logs.cannot.be.found.automatically.see.how.to.find.logs", gradleTroubleshootingLink ),