Skip to content

Commit

Permalink
Build changes for nebula.netflixoss
Browse files Browse the repository at this point in the history
  • Loading branch information
rspieldenner committed Jan 9, 2015
1 parent e8791b7 commit c9dcdc2
Show file tree
Hide file tree
Showing 23 changed files with 83 additions and 600 deletions.
54 changes: 35 additions & 19 deletions build.gradle
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]
}
}
}
13 changes: 0 additions & 13 deletions codequality/HEADER

This file was deleted.

1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
version=1.4.0-RC6-SNAPSHOT
11 changes: 0 additions & 11 deletions gradle/buildscript.gradle

This file was deleted.

26 changes: 0 additions & 26 deletions gradle/check.gradle

This file was deleted.

101 changes: 0 additions & 101 deletions gradle/convention.gradle

This file was deleted.

10 changes: 0 additions & 10 deletions gradle/license.gradle

This file was deleted.

70 changes: 0 additions & 70 deletions gradle/maven.gradle

This file was deleted.

1 change: 0 additions & 1 deletion gradle/netflix-oss.gradle

This file was deleted.

61 changes: 0 additions & 61 deletions gradle/release.gradle

This file was deleted.

Loading

0 comments on commit c9dcdc2

Please sign in to comment.