forked from Netflix/Priam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
94 lines (84 loc) · 3.22 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// Establish version and status
ext.releaseVersion = '1.1'
ext.githubProjectName = 'Priam'
buildscript {
repositories { mavenCentral() }
}
allprojects {
repositories { mavenCentral() }
}
//apply from: file('gradle/release.gradle') // Not fully tested
apply from: file('gradle/convention.gradle')
apply from: file('gradle/maven.gradle')
apply from: file('gradle/check.gradle')
//apply from: file('gradle/license.gradle') // Waiting for re-release
subprojects {
// Closure to configure all the POM with extra info, common to all projects
pom {
project {
url "https://github.com/Netflix/${rootProject.githubProjectName}"
scm {
connection "scm:git:[email protected]:Netflix/${rootProject.githubProjectName}.git"
url "scm:git:[email protected]:Netflix/${rootProject.githubProjectName}.git"
developerConnection "scm:git:[email protected]:Netflix/${rootProject.githubProjectName}.git"
}
issueManagement {
system 'github'
url "https://github.com/Netflix/${rootProject.githubProjectName}/issues"
}
}
}
group = "com.netflix.${name}"
configurations {
provided
compile.extendsFrom provided
}
dependencies {
compile "commons-lang:commons-lang:2.5"
compile "commons-logging:commons-logging:1.1.1"
compile "commons-collections:commons-collections:3.2.1"
compile "commons-io:commons-io:2.0.1"
compile "commons-cli:commons-cli:1.2"
compile "commons-httpclient:commons-httpclient:3.1"
compile "com.sun.jersey.contribs:jersey-multipart:1.1.4.1"
compile "com.sun.jersey:jersey-json:1.9.1"
compile "com.amazonaws:aws-java-sdk:1.3.11"
compile "com.google.guava:guava:11.0.1"
compile "com.google.inject:guice:3.0"
compile "com.sun.jersey:jersey-bundle:1.9.1"
compile "com.sun.jersey.contribs:jersey-guice:1.9.1"
compile "com.google.inject.extensions:guice-servlet:3.0"
compile "org.quartz-scheduler:quartz:1.7.3"
compile "com.googlecode.json-simple:json-simple:1.1"
compile "org.xerial.snappy:snappy-java:1.0.4.1"
compile "org.yaml:snakeyaml:1.10"
compile "org.apache.cassandra:cassandra-all:1.1.2"
compile "javax.ws.rs:jsr311-api:1.1.1"
compile "joda-time:joda-time:2.0"
compile "commons-configuration:commons-configuration:1.5"
compile "xerces:xercesImpl:2.4.0"
compile "net.java.dev.jna:jna:3.2.3"
compile "org.apache.httpcomponents:httpcore:4.2"
compile "com.ning:compress-lzf:0.9.5"
compile "org.slf4j:slf4j-api:1.6.1"
compile "org.slf4j:slf4j-log4j12:1.6.1"
provided "javax.servlet:servlet-api:2.5"
testCompile "com.googlecode.jmockit:jmockit:0.999.12"
testCompile "junit:junit:4.8"
}
}
project(':priam') {
dependencies {
}
test {
// -Xms256m -Xmx1024m -XX:MaxPermSize=512m
// -javaagent:"${settings.localRepository}"/com/googlecode/jmockit/jmockit/0.999.12/jmockit-0.999.12.jar
}
}
project(':priam-web') {
apply plugin: 'war'
apply plugin: 'jetty'
dependencies {
compile project(':priam')
}
}