forked from Netflix/Hystrix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8791b7
commit c9dcdc2
Showing
23 changed files
with
83 additions
and
600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,51 @@ | ||
ext.githubProjectName = rootProject.name | ||
|
||
buildscript { | ||
repositories { | ||
mavenLocal() | ||
mavenCentral() // maven { url 'http://jcenter.bintray.com' } | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:1.12.+' | ||
} | ||
apply from: file('gradle/buildscript.gradle'), to: buildscript | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
mavenCentral() // maven { url: 'http://jcenter.bintray.com' } | ||
} | ||
plugins { | ||
id 'nebula.netflixoss' version '2.2.3' | ||
} | ||
|
||
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') | ||
ext { | ||
githubProjectName = rootProject.name | ||
} | ||
|
||
subprojects { | ||
apply plugin: 'nebula.netflixoss' | ||
apply plugin: 'java' | ||
apply plugin: 'nebula.provided-base' | ||
|
||
repositories { | ||
jcenter() | ||
} | ||
|
||
group = "com.netflix.${githubProjectName}" | ||
|
||
sourceSets.test.java.srcDir 'src/main/java' | ||
//sourceSets.test.java.srcDir 'src/main/java' | ||
|
||
tasks.withType(Javadoc).each { | ||
/*tasks.withType(Javadoc).each { | ||
it.classpath = sourceSets.main.compileClasspath | ||
}*/ | ||
|
||
eclipse { | ||
classpath { | ||
// include 'provided' dependencies on the classpath | ||
plusConfigurations += [configurations.provided] | ||
downloadSources = true | ||
downloadJavadoc = true | ||
} | ||
} | ||
} | ||
|
||
// Prevent contrib project from being published | ||
project('hystrix-contrib').task('uploadMavenCentral', overwrite:true) { } | ||
|
||
idea { | ||
module { | ||
// include 'provided' dependencies on the classpath | ||
scopes.COMPILE.plus += [configurations.provided] | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
version=1.4.0-RC6-SNAPSHOT | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.