Skip to content

Commit 334b861

Browse files
Publish plugin using gradle
1 parent f3a833a commit 334b861

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,17 @@ idea {
4444
apply plugin: 'org.jetbrains.intellij'
4545
intellij {
4646
version ideaVersion
47+
48+
publish {
49+
username = project.hasProperty('jetbrainsUser') \
50+
? project.property('jetbrainsUser') \
51+
: System.getenv('JETBRAINS_USER')
52+
password = project.hasProperty('jetbrainsPassword') \
53+
? project.property('jetbrainsPassword') \
54+
: System.getenv('JETBRAINS_PASSWORD')
55+
pluginId = '8277'
56+
channel = 'default'
57+
}
4758
}
4859

4960
apply plugin: 'java'

0 commit comments

Comments
 (0)