Skip to content

Commit 8a3c7f0

Browse files
committed
Merge pull request #562 from mattrjacobs/manual-merge-nebula
Build changes to nebula.netflixoss (Manual merge of #469)
2 parents e041b1d + 6c08d90 commit 8a3c7f0

File tree

27 files changed

+101
-614
lines changed

27 files changed

+101
-614
lines changed

CHANGES.md CHANGELOG.md

File renamed without changes.

build.gradle

+30-20
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,45 @@
1-
ext.githubProjectName = rootProject.name
2-
31
buildscript {
42
repositories {
5-
mavenLocal()
6-
mavenCentral() // maven { url 'http://jcenter.bintray.com' }
3+
jcenter()
4+
}
5+
dependencies {
6+
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:2.0.1'
77
}
8-
apply from: file('gradle/buildscript.gradle'), to: buildscript
98
}
109

11-
allprojects {
12-
repositories {
13-
mavenCentral() // maven { url: 'http://jcenter.bintray.com' }
14-
}
10+
plugins {
11+
id 'nebula.netflixoss' version '2.2.5'
1512
}
1613

17-
apply from: file('gradle/convention.gradle')
18-
apply from: file('gradle/maven.gradle')
19-
//apply from: file('gradle/check.gradle')
20-
apply from: file('gradle/license.gradle')
21-
apply from: file('gradle/release.gradle')
14+
ext {
15+
githubProjectName = rootProject.name
16+
}
2217

2318
subprojects {
19+
apply plugin: 'nebula.netflixoss'
20+
apply plugin: 'java'
21+
apply plugin: 'nebula.provided-base'
22+
23+
repositories {
24+
jcenter()
25+
}
2426

2527
group = "com.netflix.${githubProjectName}"
2628

27-
sourceSets.test.java.srcDir 'src/main/java'
29+
eclipse {
30+
classpath {
31+
// include 'provided' dependencies on the classpath
32+
plusConfigurations += [configurations.provided]
33+
downloadSources = true
34+
downloadJavadoc = true
35+
}
36+
}
2837

29-
tasks.withType(Javadoc).each {
30-
it.classpath = sourceSets.main.compileClasspath
38+
39+
idea {
40+
module {
41+
// include 'provided' dependencies on the classpath
42+
scopes.COMPILE.plus += [configurations.provided]
43+
}
3144
}
3245
}
33-
34-
// Prevent contrib project from being published
35-
project('hystrix-contrib').task('uploadMavenCentral', overwrite:true) { }

codequality/HEADER

-13
This file was deleted.

gradle.properties

-1
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
version=1.4.0-RC7-SNAPSHOT

gradle/buildscript.gradle

-11
This file was deleted.

gradle/check.gradle

-26
This file was deleted.

gradle/convention.gradle

-101
This file was deleted.

gradle/license.gradle

-10
This file was deleted.

gradle/maven.gradle

-70
This file was deleted.

gradle/netflix-oss.gradle

-1
This file was deleted.

gradle/release.gradle

-61
This file was deleted.

gradle/wrapper/gradle-wrapper.jar

-330 Bytes
Binary file not shown.
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Nov 19 11:13:37 PST 2014
1+
#Thu Jan 08 16:14:23 PST 2015
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-1.12-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip

0 commit comments

Comments
 (0)