forked from Netflix/ndbench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (54 loc) · 1.86 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
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:latest.release'
classpath "org.akhikhl.gretty:gretty:2.0.0"
}
}
plugins {
id 'nebula.netflixoss' version '4.0.1'
id "de.undercouch.download" version "3.4.2"
}
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name
/*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')
*/
allprojects {
// https://www.developerfeed.com/how-do-disable-low-level-logging-apache-common-packages/
// handy command display all transitive dependencies of each subproject
task allDeps(type: DependencyReportTask) {}
}
subprojects {
apply plugin: 'nebula.netflixoss'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'nebula.compile-api'
group = "com.netflix.${githubProjectName}"
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
jcenter()
}
dependencies {
//StringUtils
compile 'commons-lang:commons-lang:2.6'
//Jersey & Servlet
compileOnly 'javax.servlet:servlet-api:2.5'
//Logging
compile 'org.slf4j:slf4j-api:1.6.1'
compile 'org.slf4j:slf4j-log4j12:1.6.1'
// Archaius-2
compile group: 'com.netflix.archaius', name: 'archaius2-core', version: '2.1.11'
//Unit Testing
testCompile 'org.jmockit:jmockit:1.19'
testCompile 'junit:junit:latest.release'
//Google Injections
compile 'com.google.inject:guice:4.0'
compile 'com.google.inject.extensions:guice-multibindings:4.0'
compile 'javax.inject:javax.inject:1'
}
}