-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (26 loc) · 837 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
mainClassName = 'de.schwarz.rod.RODMain'
version = '0.1.0'
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Remove old data',
'Implementation-Version': version,
'Main-Class': 'de.schwarz.rod.RODMain'
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
dependencies {
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
implementation group: 'mysql', name: 'mysql-connector-java', version: '5.1.21'
implementation group: 'commons-cli', name: 'commons-cli', version: '1.4'
}