Skip to content

Commit

Permalink
Moves to nebula.netflixoss 2.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Cole committed Jan 31, 2015
1 parent 3c0da6f commit ee4fe40
Show file tree
Hide file tree
Showing 23 changed files with 24 additions and 414 deletions.
File renamed without changes.
26 changes: 9 additions & 17 deletions build.gradle
@@ -1,25 +1,17 @@
ext.githubProjectName = rootProject.name

buildscript {
repositories { mavenLocal()
mavenCentral() }
apply from: file('gradle/buildscript.gradle'), to: buildscript
plugins {
id 'nebula.netflixoss' version '2.2.5'
}

allprojects {
repositories { mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/releases/' }}
ext {
githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name
}

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')
apply plugin: 'idea'

subprojects {
apply plugin: 'nebula.netflixoss'

repositories {
jcenter()
}
apply from: rootProject.file('dagger.gradle')
group = "com.netflix.${githubProjectName}" // TEMPLATE: Set to organization of project
}
12 changes: 3 additions & 9 deletions cli/build.gradle
@@ -1,15 +1,9 @@
apply plugin: 'java'
apply plugin: 'eclipse'
apply from: rootProject.file('dagger.gradle')

sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6
sourceCompatibility = 1.6

eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
}
test {
useTestNG()
}

dependencies {
Expand Down
12 changes: 1 addition & 11 deletions clouddns/build.gradle
@@ -1,16 +1,6 @@
apply plugin: 'java'
apply plugin: 'eclipse'
apply from: rootProject.file('dagger.gradle')

sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6

eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
}
}
sourceCompatibility = 1.6

test {
useTestNG()
Expand Down
13 changes: 0 additions & 13 deletions codequality/HEADER

This file was deleted.

12 changes: 1 addition & 11 deletions core/build.gradle
@@ -1,16 +1,6 @@
apply plugin: 'java'
apply plugin: 'eclipse'
apply from: rootProject.file('dagger.gradle')

sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6

eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
}
}
sourceCompatibility = 1.6

jar {
manifest {
Expand Down
4 changes: 2 additions & 2 deletions dagger.gradle
Expand Up @@ -92,7 +92,7 @@ rootProject.idea.project.ipr.withXml { projectXml ->
tasks.ideaModule.dependsOn(prepareAnnotationGeneratedSourceDirs)

idea.module {
scopes.PROVIDED.plus += project.configurations.daggerCompiler
scopes.PROVIDED.plus += [project.configurations.daggerCompiler]
iml.withXml { xml->
def moduleSource = xml.asNode().component.find { it.@name = 'NewModuleRootManager' }.content[0]
moduleSource.appendNode('sourceFolder', [url: "file://\$MODULE_DIR\$/${relativePath(annotationGeneratedSources)}", isTestSource: false])
Expand All @@ -103,7 +103,7 @@ idea.module {
tasks.eclipseClasspath.dependsOn(prepareAnnotationGeneratedSourceDirs)

eclipse.classpath {
plusConfigurations += project.configurations.daggerCompiler
plusConfigurations += [project.configurations.daggerCompiler]
}

tasks.eclipseClasspath {
Expand Down
12 changes: 1 addition & 11 deletions designate/build.gradle
@@ -1,16 +1,6 @@
apply plugin: 'java'
apply plugin: 'eclipse'
apply from: rootProject.file('dagger.gradle')

sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6

eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
}
}
sourceCompatibility = 1.6

test {
useTestNG()
Expand Down
11 changes: 1 addition & 10 deletions discoverydns/build.gradle
@@ -1,16 +1,7 @@
apply plugin: 'java'
apply plugin: 'eclipse'
apply from: rootProject.file('dagger.gradle')

sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6
sourceCompatibility = 1.6

eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
}
}
test {
useTestNG()
}
Expand Down
12 changes: 1 addition & 11 deletions dynect/build.gradle
@@ -1,16 +1,6 @@
apply plugin: 'java'
apply plugin: 'eclipse'
apply from: rootProject.file('dagger.gradle')

sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6

eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
}
}
sourceCompatibility = 1.6

test {
useTestNG()
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
@@ -1 +0,0 @@
version=5.0.0-SNAPSHOT
13 changes: 0 additions & 13 deletions gradle/buildscript.gradle

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

0 comments on commit ee4fe40

Please sign in to comment.