forked from Netflix/SimianArmy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
72 lines (59 loc) · 2.02 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// Establish version and status
ext.githubProjectName = 'SimianArmy'
group = "com.netflix.${project.name}"
apply plugin:'eclipse-wtp'
buildscript {
repositories { mavenCentral() }
apply from: file('gradle/buildscript.gradle'), to: buildscript
}
allprojects {
repositories { mavenCentral() }
}
apply from: file('gradle/convention.gradle')
apply from: file('gradle/maven.gradle')
apply from: file('gradle/check.gradle')
// apply from: file('gradle/license.gradle')
apply from: file('gradle/release.gradle')
apply plugin: 'war'
apply plugin: 'jetty'
apply plugin: 'eclipse'
apply plugin: 'idea'
dependencies {
// for the VMWareClient
compile 'com.cloudbees.thirdparty:vijava:5.0.0'
compile 'dom4j:dom4j:1.6.1'
compile 'javax.ws.rs:jsr311-api:1.1.1'
compile 'com.sun.jersey:jersey-core:1.11'
compile 'com.sun.jersey:jersey-server:1.11'
compile 'com.sun.jersey:jersey-servlet:1.11'
compile 'org.slf4j:slf4j-api:1.6.4'
compile 'org.codehaus.jackson:jackson-core-asl:1.9.2'
compile 'org.codehaus.jackson:jackson-mapper-asl:1.9.2'
compile 'com.netflix.eureka:eureka-client:1.1.22'
compile 'com.amazonaws:aws-java-sdk:latest.release'
compile 'commons-lang:commons-lang:2.6'
compile 'joda-time:joda-time:2.0'
compile 'com.google.guava:guava:11.+'
compile 'org.apache.httpcomponents:httpclient:4.2.1'
compile 'org.apache.httpcomponents:httpcore:4.2.1'
testCompile 'org.testng:testng:6.3.1'
testCompile 'org.mockito:mockito-core:1.8.5'
runtime 'org.slf4j:slf4j-log4j12:1.6.1'
providedCompile 'javax.servlet:servlet-api:2.5'
// needed for findbug Missing Class: javax.annotation.Nonnull
providedCompile 'com.google.code.findbugs:jsr305:1.3.9'
}
test {
useTestNG()
}
tasks.withType(Compile) {
options.compilerArgs << "-Xlint" << "-Werror"
}
artifacts {
archives tasks.jar
}
import nl.javadude.gradle.plugins.license.License
tasks.withType(License).each { licenseTask ->
licenseTask.exclude '**/*.json'
licenseTask.exclude '**/*.properties'
}