forked from Netflix/Turbine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (41 loc) · 1.13 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
// Establish version and status
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name
buildscript {
repositories {
mavenLocal()
mavenCentral() // maven { url 'http://jcenter.bintray.com' }
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.1.1'
}
apply from: file('gradle/buildscript.gradle'), to: buildscript
}
allprojects {
repositories {
mavenLocal()
mavenCentral() // maven { url 'http://jcenter.bintray.com' }
jcenter()
}
}
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')
tasks.withType(Javadoc).each { task ->
task.enabled = false
}
subprojects {
group = "com.netflix.${githubProjectName}"
tasks.withType(Javadoc).each { task ->
task.enabled = false
}
sourceSets {
test {
java {
srcDir 'src/main/java'
}
}
}
}