forked from Vanco/SequencePlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
47 lines (39 loc) · 1.12 KB
/
build.gradle
File metadata and controls
47 lines (39 loc) · 1.12 KB
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
46
47
plugins {
id 'java'
id "org.jetbrains.intellij" version "0.7.2"
id "org.jetbrains.changelog" version "1.1.1"
}
intellij {
version '2021.1'
pluginName 'SequenceDiagram'
plugins = ['com.intellij.java','org.jetbrains.kotlin']
updateSinceUntilBuild true
sandboxDirectory = "${project.rootDir}/.sandbox"
// jreRepo 'https://jetbrains.bintray.com/intellij-jbr'
}
patchPluginXml {
sinceBuild '201'
untilBuild '211.*'
pluginDescription({
def start = "<!-- Plugin description -->"
def end = "<!-- Plugin description end -->"
def lines = new File("${project.projectDir}/README.md").collect {it}
def str = lines.subList(lines.indexOf(start) + 1, lines.indexOf(end)).join("<br>")
str
})
changeNotes({ changelog.getLatest().toHTML() })
}
runPluginVerifier {
ideVersions = ["2020.2.4", "2020.3.3", "2021.1"]
}
publishPlugin {
token System.getenv("PUGLISH_TOKEN")
}
group 'vanstudio'
version '2.1.a4'
//some jdk11 functions in codes
sourceCompatibility = 11
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
repositories {
jcenter()
}