forked from ishgroup/derbydump
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (34 loc) · 876 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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
group = 'au.com.ish'
description = 'derbydump'
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
mavenCentral()
}
dependencies {
compile 'commons-codec:commons-codec:1.8'
compile 'commons-io:commons-io:2.4'
compile 'org.apache.derby:derby:10.10.1.1'
testCompile 'junit:junit:4.11'
}
version = '1.1-SNAPSHOT'
[ 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)
}
}
task wrapper(type: Wrapper) {
gradleVersion = '1.10'
}