-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
40 lines (33 loc) · 937 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
plugins {
id 'org.jetbrains.intellij' version '1.10.1'
id 'java'
id 'groovy'
}
group 'brq.intellij.plugins'
version '1.3'
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.codehaus.groovy:groovy-all:2.5.14")
testImplementation("org.spockframework:spock-core:1.2-groovy-2.5")
}
intellij {
version = '2021.3.3'
updateSinceUntilBuild = false
}
patchPluginXml {
if (System.getenv("CHANGE_NOTES_PATH")) {
changeNotes = file(System.getenv("CHANGE_NOTES_PATH")).text
}
}
signPlugin {
if (System.getenv("CERTIFICATE_CHAIN_PATH") && System.getenv("PRIVATE_KEY_PATH")) {
certificateChain = file(System.getenv("CERTIFICATE_CHAIN_PATH")).text
privateKey = file(System.getenv("PRIVATE_KEY_PATH")).text
password = System.getenv("PRIVATE_KEY_PASSWORD")
}
}
publishPlugin {
token = System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken")
}