Skip to content

Commit f3eb5ac

Browse files
committed
build: update settings for publishing
1 parent 10fcb73 commit f3eb5ac

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# IDEA Pomsky
55

6-
Provides support for [Pomsky][1] in IntelliJ IDEA-based IDEs.
6+
Provides support for [Pomsky][1] in IntelliJ-based IDEs.
77

88
Looking for the latest **plugin binary**? Get it [here][2]!
99
Supported IDE versions **from 0.1.0**: `231.*` to `233.*` (both inclusive)

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ java {
2828
}
2929

3030
intellij {
31+
pluginName.set("idea-pomsky")
3132
version.set("LATEST-EAP-SNAPSHOT")
3233
type.set("IC")
3334
plugins.set(listOf("java" /* Only for code documentation */))
@@ -69,8 +70,10 @@ tasks {
6970
}
7071

7172
patchPluginXml {
73+
version.set(project.version.toString())
7274
sinceBuild.set("231")
7375
untilBuild.set("233.*")
76+
pluginDescription.set((File("${projectDir.path}/plugin-description.html").readText(Charsets.UTF_8)))
7477
}
7578

7679
runPluginVerifier {

plugin-description.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<p>Provides support for <a href="https://pomsky-lang.org/">Pomsky</a> in IntelliJ-based IDEs.</p>
2+
<p>See more <a href="https://github.com/lppedd/idea-pomsky">at GitHub</a>.</p>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<id>com.github.lppedd.idea-pomsky</id>
33
<name>Pomsky</name>
44
<vendor email="[email protected]" url="https://github.com/lppedd/idea-pomsky">Edoardo Luppi</vendor>
5-
<description>Provides Pomsky support in IntelliJ-based IDEs.</description>
65

76
<depends>com.intellij.modules.platform</depends>
7+
<resource-bundle>messages.PomskyBundle</resource-bundle>
88

99
<extensions defaultExtensionNs="com.intellij">
1010
<!-- region Language Support -->
@@ -132,9 +132,7 @@
132132
language="pomsky"
133133
shortName="PomskyUnusedVariableDeclaration"
134134
level="WARNING"
135-
bundle="messages.PomskyBundle"
136135
key="inspection.declarationRedundancy.variable"
137-
groupBundle="messages.PomskyBundle"
138136
groupKey="inspection.group.declarationRedundancy"
139137
groupPath="Pomsky"
140138
enabledByDefault="true"
@@ -155,7 +153,6 @@
155153
<notificationGroup
156154
id="com.github.lppedd.idea.pomsky.error.compile"
157155
key="notification.compilation.error"
158-
bundle="messages.PomskyBundle"
159156
displayType="BALLOON"
160157
/>
161158
<!-- endregion -->

0 commit comments

Comments
 (0)