forked from Netflix/Hystrix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (37 loc) · 1.07 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
ext.githubProjectName = rootProject.name
buildscript {
repositories { mavenCentral() }
apply from: file('gradle/buildscript.gradle'), to: buildscript
}
allprojects {
repositories { mavenCentral() }
}
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 {
group = "com.netflix.${githubProjectName}"
sourceSets {
test {
java {
srcDir 'src/main/java'
}
}
}
// Establish a provided scope
configurations {
provided {
description = 'Dependencies needed for compile but are provided at runtime or not needed'
transitive = false
visible = false
}
compile.extendsFrom provided
}
sourceSets {
main.compileClasspath += configurations.provided
main.runtimeClasspath -= configurations.provided
test.compileClasspath += configurations.provided
}
}