Skip to content

Commit 21defb5

Browse files
authored
📌 Update version plugins (#118)
* 📌 Update version plugins * 📌 Replace deprecated startup method.
1 parent 4696122 commit 21defb5

File tree

8 files changed

+20
-15
lines changed

8 files changed

+20
-15
lines changed

build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ dependencies {
3636
implementation("com.squareup.okhttp3:okhttp:4.12.0")
3737
implementation("org.yaml:snakeyaml:2.4")
3838
testImplementation(libs.junit)
39+
40+
// IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
3941
intellijPlatform {
4042
create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion"))
4143

@@ -45,9 +47,6 @@ dependencies {
4547
// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
4648
plugins(providers.gradleProperty("platformPlugins").map { it.split(',') })
4749

48-
//instrumentationTools()
49-
pluginVerifier()
50-
zipSigner()
5150
testFramework(TestFrameworkType.Platform)
5251
}
5352
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pluginUntilBuild =
1414

1515
# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
1616
platformType = IC
17-
platformVersion = 2024.1
17+
platformVersion = 2024.1.7
1818

1919
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
2020
# Note: Bundled plugins are now defined separately from plugins of other sources (like JetBrains Marketplace).
@@ -26,7 +26,7 @@ platformBundledPlugins =
2626
javaVersion = 17
2727

2828
# Gradle Releases -> https://github.com/gradle/gradle/releases
29-
gradleVersion = 8.10.1
29+
gradleVersion = 8.11.1
3030

3131
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
3232
kotlin.stdlib.default.dependency = false

gradle/wrapper/gradle-wrapper.jar

-17.6 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
package com.github.patou.gitmoji
22
import com.intellij.openapi.project.Project
3-
import com.intellij.openapi.vcs.impl.VcsStartupActivity
3+
import com.intellij.openapi.startup.ProjectActivity
44

5-
class GitmojiStartupActivity : VcsStartupActivity {
6-
override val order = Integer.MAX_VALUE
7-
override fun runActivity(project: Project) {
5+
class GitmojiStartupActivity : ProjectActivity {
6+
override suspend fun execute(project: Project) {
87
Gitmojis.ensureGitmojisLoaded();
98
}
109
}

src/main/resources/META-INF/plugin.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
<projectConfigurable instance="com.github.patou.gitmoji.GitMojiConfig" groupId="other" key="projectName" bundle="messages.GitmojiBundle"
4848
id="com.github.patou.gitmoji.config"/>
4949
<vcsLogCustomColumn implementation="com.github.patou.gitmoji.GitmojiCustomColumn" />
50-
<vcsStartupActivity implementation="com.github.patou.gitmoji.GitmojiStartupActivity" />
50+
<backgroundPostStartupActivity id="com.github.patou.gitmoji"
51+
implementation="com.github.patou.gitmoji.GitmojiStartupActivity"
52+
order="last"/>
5153
</extensions>
5254
</idea-plugin>

0 commit comments

Comments
 (0)