forked from Netflix/ribbon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
31 lines (25 loc) · 800 Bytes
/
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
plugins {
id 'nebula.netflixoss' version '9.1.0'
}
// Establish version and status
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name
subprojects {
apply plugin: 'nebula.netflixoss'
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = "com.netflix.${githubProjectName}" // TEMPLATE: Set to organization of project
repositories {
mavenCentral()
}
if (project.hasProperty('useMavenLocal')) {
repositories {
mavenLocal()
}
}
if (project.getProperty('status').equals("snapshot")) {
repositories {
maven { url 'https://artifactory-oss.prod.netflix.net/artifactory/maven-oss-snapshots' }
}
}
}