Skip to content

Commit

Permalink
New nebula.netflixoss build
Browse files Browse the repository at this point in the history
  • Loading branch information
rspieldenner committed Apr 3, 2015
1 parent 9224295 commit a764853
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 65 deletions.
Empty file added CHANGELOG.md
Empty file.
31 changes: 20 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,30 @@
ext.githubProjectName = rootProject.name

buildscript {
repositories { mavenCentral() }
apply from: file('gradle/buildscript.gradle'), to: buildscript
repositories { jcenter() }
dependencies {
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:2.2.0'
}
}

allprojects {
repositories { mavenCentral() }
plugins {
id 'nebula.netflixoss' version '2.2.9'
}

apply plugin: 'idea'
apply from: file('gradle/convention.gradle')
apply from: file('gradle/maven.gradle')
apply from: file('gradle/license.gradle')
apply from: file('gradle/release.gradle')
ext.githubProjectName = rootProject.name

idea {
project {
languageLevel = '1.7'
}
}

subprojects {
apply plugin: 'nebula.netflixoss'
apply plugin: 'java'
apply plugin: 'nebula.provided-base'

repositories {
jcenter()
}

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

Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
version=1.0.28
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Aug 14 16:28:54 PDT 2012
#Thu Apr 02 16:32:40 PDT 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip
6 changes: 3 additions & 3 deletions gradlew
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

##############################################################################
##
Expand Down Expand Up @@ -61,9 +61,9 @@ while [ -h "$PRG" ] ; do
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/"
cd "`dirname \"$PRG\"`/" >&-
APP_HOME="`pwd -P`"
cd "$SAVED"
cd "$SAVED" >&-

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar

Expand Down
12 changes: 0 additions & 12 deletions zuul-core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'idea'

dependencies {
compile 'commons-io:commons-io:2.4'
Expand All @@ -11,7 +8,6 @@ dependencies {

provided 'junit:junit-dep:4.10'
provided 'javax.servlet:servlet-api:2.5'
groovy "org.codehaus.groovy:groovy-all:2.3.1"

compile 'com.netflix.archaius:archaius-core:0.6.0'
compile 'com.netflix.servo:servo-core:0.7.2'
Expand All @@ -30,15 +26,7 @@ javadoc {

eclipse {
classpath {
plusConfigurations += configurations.provided
downloadSources = true
downloadJavadoc = true
}
}


idea {
module {
scopes.PROVIDED.plus += configurations.provided
}
}
16 changes: 2 additions & 14 deletions zuul-netflix-webapp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'war'
apply plugin: 'jetty'

Expand All @@ -20,8 +17,8 @@ dependencies {
compile 'com.sun.jersey:jersey-client:1.17.1'
compile 'com.sun.jersey:jersey-servlet:1.17.1'

groovy "org.codehaus.groovy:groovy-all:2.2.2"
provided 'junit:junit-dep:4.10'
compile "org.codehaus.groovy:groovy-all:2.2.2"
providedCompile 'junit:junit-dep:4.10'
}

javadoc {
Expand All @@ -35,20 +32,11 @@ javadoc {

eclipse {
classpath {
plusConfigurations += configurations.provided
downloadSources = true
downloadJavadoc = true
}
}


idea {
module {
languageLevel = '1.7'
scopes.PROVIDED.plus += configurations.provided
}
}

war {
webXml = file('src/main/webapp/WEB-INF/web.xml')
webInf{
Expand Down
11 changes: 0 additions & 11 deletions zuul-netflix/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'idea'

dependencies {
compile project(':zuul-core')
Expand Down Expand Up @@ -37,15 +34,7 @@ javadoc {

eclipse {
classpath {
plusConfigurations += configurations.provided
downloadSources = true
downloadJavadoc = true
}
}


idea {
module {
scopes.PROVIDED.plus += configurations.provided
}
}
12 changes: 1 addition & 11 deletions zuul-simple-webapp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'jetty'


dependencies {
compile project(":zuul-core")

compile 'org.apache.httpcomponents:httpclient:4.3.2'
provided 'javax.servlet:servlet-api:2.5'
providedCompile 'javax.servlet:servlet-api:2.5'
}

eclipse {
classpath {
plusConfigurations += configurations.provided
downloadSources = true
downloadJavadoc = true
}
Expand All @@ -29,12 +25,6 @@ war {
}
}

idea {
module {
scopes.PROVIDED.plus += configurations.provided
}
}

jettyRun.contextPath = '/'

jettyRun.doFirst {
Expand Down

0 comments on commit a764853

Please sign in to comment.