-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
45 lines (39 loc) · 975 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 'antlr'
id 'java'
id 'org.jetbrains.intellij' version '0.6.5'
}
group 'cn.xiaoheiban'
version "$intellijVersion"
repositories {
mavenCentral()
}
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
dependencies {
antlr("org.antlr:antlr4:$antlr4Version") { // use ANTLR version 4
exclude group: 'com.ibm.icu', module: 'icu4j'
}
compile fileTree(dir:'libs',include:['*.jar'])
testCompile group: 'junit', name: 'junit', version: '4.12'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = '2021.3.2'
pluginName = 'Goctl'
downloadSources true
updateSinceUntilBuild false
}
patchPluginXml {
sinceBuild '193.0'
changeNotes """
<ul>
<li>fix null pointer exception</li>
<li>remember api style config in memory</li>
</ul>
"""
}
sourceCompatibility = JavaVersion.VERSION_14
targetCompatibility = JavaVersion.VERSION_14