-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (47 loc) · 1.25 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
apply plugin: "groovy"
apply plugin: "idea"
apply plugin: "eclipse"
apply plugin: "application"
// Main class of betsy
mainClassName = "ubml.ws.WSMain"
repositories {
mavenCentral()
}
sourceCompatibility="1.8"
sourceSets {
main {
groovy {
srcDirs = ['src/main/groovy']
}
resources {
srcDirs = ['src/main/groovy', 'src/main/resources', 'src/main/xslt']
}
}
}
ext {
props = new Properties()
props.load(new File(project.rootDir, "config.properties").newInputStream())
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.3.0'
compile 'log4j:log4j:1.2.17'
compile 'org.apache.commons:commons-io:1.3.2'
compile 'commons-lang:commons-lang:2.4'
compile 'org.apache.ant:ant-apache-log4j:1.9.2'
compile 'net.sf.saxon:Saxon-HE:9.5.1-5'
compile files(fileTree(dir: "lib", includes: ['*.jar']))
testCompile 'junit:junit:4.11'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.12'
}
task enginecontrol(type: JavaExec, dependsOn: build) {
description = 'Starts Engine Control GUI'
classpath = sourceSets.main.runtimeClasspath
main = "betsy.tool.EngineControl"
}
test {
testLogging {
exceptionFormat "full" // default is "short"
}
}