forked from Netflix/archaius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
99 lines (87 loc) · 3.08 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
94
95
96
97
98
// Establish version and status
ext.releaseVersion = '0.3.3'
ext.githubProjectName = 'archaius'
//group = 'com.netflix.archaius'
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/${githubProjectName}"
scm {
connection "scm:git:git@github.com:Netflix/${githubProjectName}.git"
url "scm:git:git@github.com:Netflix/${githubProjectName}.git"
developerConnection "scm:git:git@github.com:Netflix/${githubProjectName}.git"
}
issueManagement {
system 'github'
url "https://github.com/Netflix/${githubProjectName}/issues"
}
}
}
group = "com.netflix.${githubProjectName}" // TEMPLATE: Set to organization of project
}
project(':archaius-core') {
dependencies {
compile 'commons-configuration:commons-configuration:1.8'
compile 'org.slf4j:slf4j-api:1.6.4'
testCompile 'junit:junit:4.10'
testCompile 'org.apache.derby:derby:10.8.2.2'
testCompile('log4j:log4j:1.2.15') {
exclude group: 'javax.jms', module: 'jms'
exclude group: 'com.sun.jdmk', module: 'jmxtools'
exclude group: 'com.sun.jmx', module: 'jmxri'
}
}
}
project(':archaius-aws') {
dependencies {
compile project(':archaius-core')
compile 'com.amazonaws:aws-java-sdk:1.3.14'
testCompile 'junit:junit:4.10'
testCompile('log4j:log4j:1.2.15') {
exclude group: 'javax.jms', module: 'jms'
exclude group: 'com.sun.jdmk', module: 'jmxtools'
exclude group: 'com.sun.jmx', module: 'jmxri'
}
}
}
project(':archaius-scala') {
apply plugin: 'scala'
dependencies {
// Libraries needed to run the scala tools
scalaTools 'org.scala-lang:scala-compiler:2.9.1-1'
scalaTools 'org.scala-lang:scala-library:2.9.1-1'
compile project(':archaius-core')
compile 'org.scala-lang:scala-library:2.9.1-1'
testCompile 'org.scalatest:scalatest_2.9.1:1.8'
}
}
project(':archaius-samplelibrary') {
dependencies {
compile 'commons-configuration:commons-configuration:1.8'
compile 'org.slf4j:slf4j-api:1.6.4'
testCompile 'junit:junit:4.10'
testCompile('log4j:log4j:1.2.15') {
exclude group: 'javax.jms', module: 'jms'
exclude group: 'com.sun.jdmk', module: 'jmxtools'
exclude group: 'com.sun.jmx', module: 'jmxri'
}
}
jar {
from('src/main/java') {
include 'META-INF/conf/springbeans.xml'
include 'META-INF/conf/config.properties'
}
}
}