forked from JetBrains/intellij-community
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Kotlin|Gradle|NPW] fix: don't register foojay plugin for new depende…
…nt Gradle module The current implementation of settings script builder doesn't allow parsing and merging existed and generated code blocks. Therefore, we should add foojay plugin in an existing Gradle settings script. ## Issues * IDEA-366878 An unnecessary additional plugin block is added to the settings.gradle(.kts) when a new Kotlin module is added ## Tests * org.jetbrains.kotlin.tools.projectWizard.wizard.GradleKotlinNewProjectWizardTest GitOrigin-RevId: fd076f0684a2ee2a7d28d116e93350d37d8c4da4
- Loading branch information
1 parent
ee51daf
commit 52618a1
Showing
4 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...tData/gradleNewProjectWizard/newModuleInKotlinProjectIndependentHierarchy/settings.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
plugins { | ||
id 'org.gradle.toolchains.foojay-resolver-convention' version 'FOOJAY_VERSION' | ||
} | ||
rootProject.name = 'project' |
3 changes: 3 additions & 0 deletions
3
...radleNewProjectWizard/newModuleInKotlinProjectIndependentHierarchyKts/settings.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
plugins { | ||
id("org.gradle.toolchains.foojay-resolver-convention") version "FOOJAY_VERSION" | ||
} | ||
rootProject.name = "project" |