forked from ishgroup/derbydump
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (30 loc) · 868 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
apply plugin: 'java'
apply plugin: 'maven'
group = 'au.com.ish'
version = '1.1-SNAPSHOT'
description = "derbydump"
sourceCompatibility = 1.6
targetCompatibility = 1.6
repositories {
mavenRepo url: "http://repo.maven.apache.org/maven2"
}
dependencies {
compile 'log4j:log4j:1.2.17'
compile 'commons-codec:commons-codec:1.8'
compile 'commons-io:commons-io:2.4'
compile 'org.apache.derby:derby:10.9.1.0'
testCompile 'junit:junit:4.11'
}
[ compileJava, compileTestJava ]*.options*.encoding = 'UTF-8'
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
manifest {
attributes 'Main-Class': 'au.com.ish.derbydump.derbydump.main.DerbyDump'
}
}
test {
systemProperties 'java.awt.headless': 'true'
// log each starting test
beforeTest { descriptor -> logger.lifecycle("Running: " + descriptor)
}
}