-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle
73 lines (56 loc) · 1.62 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
plugins {
id 'org.jbake.site' version '5.0.0'
}
apply plugin:'java'
apply plugin:'application'
apply from:'gradle/version.gradle'
apply from:'gradle/docs.gradle'
mainClassName = "kalang.compiler.shell.Kalangc"
startScripts.applicationName = "kalangc"
repositories{
mavenCentral()
}
dependencies{
compile 'org.antlr:antlr4-runtime:4.7.2'
compile 'org.apache.commons:commons-collections4:4.1'
testCompile 'junit:junit:4.12'
compile 'org.ow2.asm:asm:7.3.1'
compile 'com.google.code.findbugs:jsr305:3.0.1'
compile project(":kalang-runtime")
compile 'commons-io:commons-io:2.5'
compile 'commons-cli:commons-cli:1.3.1'
compile 'org.apache.ivy:ivy:2.5.0'
compile 'com.fifesoft:rsyntaxtextarea:3.0.3'
compileOnly 'org.projectlombok:lombok:1.18.8'
annotationProcessor 'org.projectlombok:lombok:1.18.8'
}
apply from:'gradle/maven-publish.gradle'
apply plugin: 'jacoco'
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}
task startScriptsForShell(type: CreateStartScripts) {
outputDir = file('build/scripts')
mainClassName = 'kalang.compiler.shell.Kalangsh'
applicationName = "kalangsh"
classpath = startScripts.classpath
}
startScripts.dependsOn startScriptsForShell
task startScriptsForEditor(type: CreateStartScripts) {
outputDir = file('build/scripts')
mainClassName = 'kalang.compiler.shell.Kalangeditor'
applicationName = "kalangeditor"
classpath = startScripts.classpath
}
startScripts.dependsOn startScriptsForEditor
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
build {
doLast {
println("version:${project.version}");
}
}