-
Notifications
You must be signed in to change notification settings - Fork 34
/
build.gradle
49 lines (39 loc) · 932 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
46
47
48
49
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id "org.jetbrains.intellij" version "0.4.2"
}
wrapper {
gradleVersion = '5.2.1'
}
group 'antlr'
version pluginVersion
apply plugin: 'java'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'antlr'
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
intellij {
version = ideaVersion
pluginName 'antlr4-intellij-plugin-sample'
downloadSources true
updateSinceUntilBuild false
}
repositories {
mavenCentral()
}
dependencies {
antlr("org.antlr:antlr4:$antlr4Version") { // use ANTLR version 4
exclude group:'com.ibm.icu', module:'icu4j'
}
implementation 'org.antlr:antlr4-intellij-adaptor:0.1'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
generateGrammarSource {
arguments += ["-package", "org.antlr.jetbrains.sample.parser", "-Xexact-output-dir"]
}