Skip to content

Commit

Permalink
Merge pigpen-local and pigpen-tests into pigpen-core
Browse files Browse the repository at this point in the history
  • Loading branch information
mbossenbroek committed Mar 30, 2015
1 parent e7c6c56 commit 4991f91
Show file tree
Hide file tree
Showing 29 changed files with 22 additions and 30 deletions.
2 changes: 1 addition & 1 deletion pigpen-cascading/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apply plugin: 'java'

dependencies {
compile project(':pigpen')
testCompile project(':pigpen-tests')

// Should these be provided?
compile 'cascading:cascading-core:2.5.1'
Expand All @@ -11,4 +10,5 @@ dependencies {
compile 'org.slf4j:slf4j-log4j12:1.6.1'

testCompile 'criterium:criterium:0.4.3'
testCompile project(path: ':pigpen', configuration: 'testOutput')
}
13 changes: 13 additions & 0 deletions pigpen-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,16 @@ dependencies {
compile 'com.taoensso:nippy:2.8.0'
compile 'prismatic:schema:0.3.3'
}

configurations {
testOutput.extendsFrom (testCompile)
}

task jarTest (type: Jar, dependsOn: testClasses) {
from sourceSets.test.clojure.srcDirs
classifier = 'test'
}

artifacts {
testOutput jarTest
}
17 changes: 0 additions & 17 deletions pigpen-local/build.gradle

This file was deleted.

4 changes: 2 additions & 2 deletions pigpen-parquet-pig/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
dependencies {
compile project(':pigpen-parquet')
compile project(':pigpen-pig')
testCompile project(':pigpen-tests')

compile 'com.twitter:parquet-pig:1.5.0'

Expand All @@ -10,6 +9,7 @@ dependencies {
provided 'org.antlr:antlr:3.5.2'
provided 'log4j:log4j:1.2.17'

testCompile project(path: ':pigpen-parquet', configuration: 'testOutput')
testCompile project(path: ':pigpen', configuration: 'testOutput')
testCompile project(path: ':pigpen-pig', configuration: 'testOutput')
testCompile project(path: ':pigpen-parquet', configuration: 'testOutput')
}
2 changes: 1 addition & 1 deletion pigpen-parquet/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies {
compile project(':pigpen')
compile project(':pigpen-hadoop')
testCompile project(':pigpen-tests')

compile 'com.twitter:parquet-tools:1.5.0'

testCompile project(path: ':pigpen', configuration: 'testOutput')
}

Expand Down
2 changes: 1 addition & 1 deletion pigpen-pig/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ apply plugin: 'java'
dependencies {
compile project(':pigpen')
compile project(':pigpen-hadoop')
testCompile project(':pigpen-tests')

compile 'joda-time:joda-time:2.4' // pig needs this to run locally
compile 'org.clojure:core.async:0.1.267.0-0d7780-alpha'

provided 'org.apache.pig:pig:0.13.0'
provided 'org.apache.hadoop:hadoop-core:1.1.2'

testCompile project(path: ':pigpen', configuration: 'testOutput')
testCompile 'org.apache.pig:pigunit:0.13.0'
testCompile 'jline:jline:0.9.94'
testCompile 'org.antlr:antlr:3.5.2'
Expand Down
3 changes: 2 additions & 1 deletion pigpen-rx/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
dependencies {
compile project(':pigpen')
testCompile project(':pigpen-tests')

compile 'io.reactivex:rxjava:1.0.4'
compile 'io.reactivex:rxclojure:1.0.0'

testCompile project(path: ':pigpen', configuration: 'testOutput')
}
3 changes: 0 additions & 3 deletions pigpen-tests/build.gradle

This file was deleted.

2 changes: 1 addition & 1 deletion pigpen-viz/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
compile project(':pigpen-core')
compile project(':pigpen')

compile 'rhizome:rhizome:0.1.9'
}
4 changes: 1 addition & 3 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
rootProject.name='pigpen-multi'
include 'pigpen-core', \
'pigpen-tests', \
'pigpen-local', \
'pigpen-rx', \
'pigpen-pig', \
'pigpen-cascading', \
Expand All @@ -11,4 +9,4 @@ include 'pigpen-core', \
'pigpen-avro', \
'pigpen-avro-pig', \
'pigpen-viz'
project(':pigpen-local').name = 'pigpen'
project(':pigpen-core').name = 'pigpen'

0 comments on commit 4991f91

Please sign in to comment.