-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (43 loc) · 973 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
50
51
52
plugins {
id 'antlr'
id 'java'
}
group 'de.uni-trier.dbis.schenql'
version '1.1.0'
sourceCompatibility = 11.0
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
antlr "org.antlr:antlr4:4.7.2"
compile(
"org.antlr:antlr4-runtime:4.7.2",
"commons-cli:commons-cli:1.4",
"mysql:mysql-connector-java:8.0.16",
'org.jline:jline:3.1.3'
)
testCompile 'junit:junit:4.12'
}
generateGrammarSource {
maxHeapSize = "64m"
arguments = [
"-lib", "src/main/antlr/de/unitrier/dbis/schenql",
"-visitor"
]
}
compileJava.dependsOn generateGrammarSource
test {
useJUnit()
maxHeapSize="1G"
}
task uberJar(type: Jar) {
manifest {
attributes "Main-Class": "de.unitrier.dbis.schenql.compiler.Schenql"
}
baseName = "schenql-full"
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}