forked from SecuritySquad/webifier-tester
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (47 loc) · 1.24 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
group 'de.securitysquad.webifier'
version '0.0.1-SNAPSHOT'
buildscript {
repositories {
mavenCentral()
}
}
apply plugin: 'java'
sourceSets {
main {
java {
srcDir "src/main/java"
}
resources {
srcDir "src/main/resources"
}
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile('org.apache.logging.log4j:log4j-core:2.7')
compile('org.apache.commons:commons-lang3:3.4')
compile('commons-cli:commons-cli:1.3.1')
compile('commons-io:commons-io:2.5')
compile('com.fasterxml.jackson.core:jackson-databind:2.8.4')
compile('com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.8.4')
compile('com.mashape.unirest:unirest-java:1.4.9')
testCompile('junit:junit:4.12')
}
jar {
baseName = rootProject.name
manifest {
attributes "Main-Class": "de.securitysquad.webifier.WebifierTesterApplication"
}
}
task buildAll(type: Jar) {
baseName = rootProject.name + '-all'
manifest {
attributes "Main-Class": "de.securitysquad.webifier.WebifierTesterApplication"
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}