Skip to content

Commit a949eb4

Browse files
committed
Merge branch 'main' into fix/update-ui
2 parents 8728259 + 38d6257 commit a949eb4

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import common.BuildProfiles
2+
import common.BuildProfiles.greaterThan
13
import common.buildVersion
24
import common.currentProfile
35
import common.dynamicPlatformType
@@ -85,6 +87,13 @@ dependencies {
8587

8688
pluginVerifier()
8789
zipSigner()
90+
91+
//todo: this is a workaround for plugin 2.1.0, this module should be bundled.
92+
// check in next version if it is still necessary.
93+
// https://jetbrains-platform.slack.com/archives/C05C80200LS/p1730794028550679
94+
if (project.currentProfile().profile.greaterThan(BuildProfiles.Profile.p241)) {
95+
bundledModule("intellij.platform.collaborationTools")
96+
}
8897
}
8998
}
9099

common-build-logic/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repositories {
1313
dependencies {
1414
//when updating intellij-platform-gradle-plugin update also org.jetbrains.intellij.platform.settings plugin
1515
// in settings file to the same version. we need to maintain it in two places, unfortunately.
16-
implementation("org.jetbrains.intellij.platform:intellij-platform-gradle-plugin:2.0.1") // Update also org.jetbrains.intellij.platform.settings in settings.gradle.kts
16+
implementation("org.jetbrains.intellij.platform:intellij-platform-gradle-plugin:2.1.0") // Update also org.jetbrains.intellij.platform.settings in settings.gradle.kts
1717
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20")
1818
implementation("com.glovoapp.gradle:versioning:1.1.10")
1919
implementation("de.undercouch:gradle-download-task:5.6.0")

ide-common/build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import common.BuildProfiles
2+
import common.BuildProfiles.greaterThan
3+
import common.currentProfile
14
import common.dynamicPlatformType
25
import common.platformVersion
36
import common.useBinaryInstaller
@@ -39,6 +42,13 @@ dependencies {
3942
//this module uses create because it may be Idea,Rider,Pycharm etc.
4043
create(platformType, project.platformVersion(), project.useBinaryInstaller())
4144
bundledPlugin("Git4Idea")
45+
//todo: this is a workaround for plugin 2.1.0, this module should come as transitive dependency of Git4Idea.
46+
// check in next version if it is still necessary. discussed here:
47+
// https://jetbrains-platform.slack.com/archives/C05C80200LS/p1727279837850189
48+
// https://jetbrains-platform.slack.com/archives/C05C80200LS/p1730794028550679
49+
if (project.currentProfile().profile.greaterThan(BuildProfiles.Profile.p241)) {
50+
bundledModule("intellij.platform.vcs.dvcs.impl")
51+
}
4252
}
4353
}
4454

0 commit comments

Comments
 (0)