-
Notifications
You must be signed in to change notification settings - Fork 58
/
build.gradle
68 lines (51 loc) · 1.63 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
buildscript {
repositories {
mavenCentral()
maven {
url = 'https://plugins.gradle.org/m2'
}
}
dependencies {
classpath "org.gretty:gretty:3.1.2"
}
}
plugins {
id "com.netflix.nebula.netflixoss" version "11.5.0"
}
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')
*/
subprojects {
apply plugin: 'nebula.netflixoss'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
group = "com.netflix.${githubProjectName}"
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
//StringUtils
implementation 'commons-lang:commons-lang:2.6'
//Jersey & Servlet
compileOnly 'javax.servlet:servlet-api:2.5'
//Logging
implementation 'org.slf4j:slf4j-api:1.6.1'
implementation 'org.slf4j:slf4j-log4j12:1.6.1'
// Archaius-2
implementation group: 'com.netflix.archaius', name: 'archaius2-core', version: '2.1.11'
//Unit Testing
testImplementation 'org.jmockit:jmockit:1.19'
testImplementation 'junit:junit:latest.release'
//Google Injections
implementation 'com.google.inject:guice:4.0'
implementation 'com.google.inject.extensions:guice-multibindings:4.0'
implementation 'javax.inject:javax.inject:1'
}
}