-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
54 lines (47 loc) · 1.5 KB
/
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
46
47
48
49
50
51
52
53
54
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.7.2'
id 'org.jetbrains.changelog' version '0.4.0'
}
apply plugin: 'org.jetbrains.changelog'
group 'com.github.hinaser'
version '1.0.0'
repositories {
mavenCentral()
}
dependencies {
implementation 'com.vladsch.flexmark:flexmark-all:0.62.2'
implementation 'javax.json:javax.json-api:1.1.4'
implementation 'org.glassfish:javax.json:1.1'
testImplementation group: 'junit', name: 'junit', version: '4.12'
}
// See https://jetbrains.org/intellij/sdk/docs/reference_guide/intellij_artifacts.html
// Find target intellij version here
// - https://www.jetbrains.com/intellij-repository/snapshots/
// - https://www.jetbrains.com/intellij-repository/releases/
// For debugging purpose, I recommend to also download correspond source file here.
// https://github.com/JetBrains/intellij-community/tags
intellij {
version '212.5080.55'
// version '211.6693.111'
updateSinceUntilBuild false
}
patchPluginXml {
changeNotes({ changelog.getLatest().toHTML() })
}
publishPlugin {
token = System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken")
}
changelog {
version = "${project.version}"
path = "${project.projectDir}/CHANGELOG.md"
headerFormat = "[{0}]"
headerArguments = ["${project.version}"]
itemPrefix = "-"
keepUnreleasedSection = true
unreleasedTerm = "[Unreleased]"
groups = ["Added", "Changed", "Deprecated", "Removed", "Fixed", "Security"]
}
buildSearchableOptions {
enabled = true
}