Skip to content

Commit

Permalink
Improvement: Publish intellij plugin (#24)
Browse files Browse the repository at this point in the history
We are now publishing the intellij plugin to the plugin portal. See https://plugins.jetbrains.com/plugin/13180-palantir-java-format
  • Loading branch information
dansanduleac authored Oct 15, 2019
1 parent d14d728 commit fcf43ee
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ a single format.*
### IntelliJ, Android Studio, and other JetBrains IDEs

A
[palantir-java-format IntelliJ plugin](https://plugins.jetbrains.com/plugin/8527)
[palantir-java-format IntelliJ plugin](https://plugins.jetbrains.com/plugin/13180)
is available from the plugin repository. To install it, go to your IDE's
settings and select the `Plugins` category. Click the `Marketplace` tab, search
for the `palantir-java-format` plugin, and click the `Install` button.
Expand Down
6 changes: 6 additions & 0 deletions changelog/@unreleased/pr-24.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
type: improvement
improvement:
description: We are now publishing the intellij plugin to the plugin portal. See
https://plugins.jetbrains.com/plugin/13180-palantir-java-format
links:
- https://github.com/palantir/palantir-java-format/pull/24
12 changes: 8 additions & 4 deletions idea-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ patchPluginXml {
untilBuild = ''
}

// TODO(dsanduleac): publish to official IntelliJ plugin repository
// publishPlugin {
// token = System.env.JETBRAINS_PLUGIN_REPO_TOKEN
// }
publishPlugin {
token = System.env.JETBRAINS_PLUGIN_REPO_TOKEN
if (!versionDetails().isCleanTag) {
channels 'eap'
}
}

tasks.publish.dependsOn publishPlugin

configurations {
formatter {
Expand Down

0 comments on commit fcf43ee

Please sign in to comment.