-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
31 lines (25 loc) · 851 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
apply plugin: 'java'
apply plugin: 'idea'
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
group 'com.stavshamir.bag'
version '1.0-SNAPSHOT'
task fatJar(type: Jar) {
manifest {
attributes 'Main-Class': 'com.stavshamir.bag.Application'
}
baseName = project.name
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
dependencies {
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
compile group: 'com.google.guava', name: 'guava', version: '11.0.2'
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.8.4'
testCompile 'org.assertj:assertj-core:3.10.0'
}