-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
46 lines (38 loc) · 860 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
41
42
43
44
45
plugins {
id 'java'
id 'org.jetbrains.intellij.platform' version '2.1.0'
}
group 'org.jvmlet.intellij'
version '1.7.0'
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
intellijPlatform {
create(
providers.gradleProperty("platformType"),
providers.gradleProperty("platformVersion")
)
bundledPlugin 'com.intellij.gradle'
pluginVerifier()
}
}
intellijPlatform {
instrumentCode = false
pluginConfiguration {
ideaVersion {
untilBuild = provider { null }
}
}
}
def isRelease = !(version ==~ /.*SNAPSHOT/)
publishPlugin {
onlyIf {
isRelease
}
token = System.getenv("JETBRAINS_TOKEN")
}