-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (27 loc) · 836 Bytes
/
build.gradle
File metadata and controls
33 lines (27 loc) · 836 Bytes
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
plugins {
id "org.jetbrains.intellij" version "0.4.15"
}
version = '1.0.38'
apply plugin: 'org.jetbrains.intellij'
dependencies {
}
Properties properties = System.properties;
if(System.env.BUILD_NUMBER != null && System.env.SERVICESTACKIDEA_PUBLISH_NIGHTLY != null) {
// Append build number to version for a new nightly build version to be published.
version = "${version}.$System.env.BUILD_NUMBER"
}
String jbToken;
if(properties.getProperty("jetbrains.plugins.user", null) == null) {
properties.load(project.file('./local.properties').newDataInputStream())
}
jbToken = properties.getProperty("jetbrains.plugins.token");
intellij {
version 'IC-14.1.4'
plugins 'maven'
pluginName 'ServiceStackIDEA'
updateSinceUntilBuild false
publishPlugin {
token jbToken
channels 'beta'
}
}