Skip to content

Commit fcf43ee

Browse files
authored
Improvement: Publish intellij plugin (#24)
We are now publishing the intellij plugin to the plugin portal. See https://plugins.jetbrains.com/plugin/13180-palantir-java-format
1 parent d14d728 commit fcf43ee

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ a single format.*
4343
### IntelliJ, Android Studio, and other JetBrains IDEs
4444

4545
A
46-
[palantir-java-format IntelliJ plugin](https://plugins.jetbrains.com/plugin/8527)
46+
[palantir-java-format IntelliJ plugin](https://plugins.jetbrains.com/plugin/13180)
4747
is available from the plugin repository. To install it, go to your IDE's
4848
settings and select the `Plugins` category. Click the `Marketplace` tab, search
4949
for the `palantir-java-format` plugin, and click the `Install` button.

‎changelog/@unreleased/pr-24.v2.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
type: improvement
2+
improvement:
3+
description: We are now publishing the intellij plugin to the plugin portal. See
4+
https://plugins.jetbrains.com/plugin/13180-palantir-java-format
5+
links:
6+
- https://github.com/palantir/palantir-java-format/pull/24

‎idea-plugin/build.gradle‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,14 @@ patchPluginXml {
3232
untilBuild = ''
3333
}
3434

35-
// TODO(dsanduleac): publish to official IntelliJ plugin repository
36-
// publishPlugin {
37-
// token = System.env.JETBRAINS_PLUGIN_REPO_TOKEN
38-
// }
35+
publishPlugin {
36+
token = System.env.JETBRAINS_PLUGIN_REPO_TOKEN
37+
if (!versionDetails().isCleanTag) {
38+
channels 'eap'
39+
}
40+
}
41+
42+
tasks.publish.dependsOn publishPlugin
3943

4044
configurations {
4145
formatter {

0 commit comments

Comments
 (0)