Updated Branches: refs/heads/master 5444fd2c6 -> 304a5d2f3
BIGTOP-1202. One-button-click way for installing all needed bits of testing framework Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/fae96c50 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/fae96c50 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/fae96c50 Branch: refs/heads/master Commit: fae96c50ec118e6aaad8522f271a85b49f32ca71 Parents: 5444fd2 Author: Konstantin Boudnik <[email protected]> Authored: Tue Feb 4 13:51:21 2014 -0800 Committer: Konstantin Boudnik <[email protected]> Committed: Tue Feb 4 13:54:21 2014 -0800 ---------------------------------------------------------------------- build.gradle | 45 +++++++++++++++++++++++++++++++++++++++++++++ settings.gradle | 1 + 2 files changed, 46 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/fae96c50/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..b3271d9 --- /dev/null +++ b/build.gradle @@ -0,0 +1,45 @@ +apply plugin: 'java' +apply plugin: 'maven' + +group = 'org.apache.bigtop' +version = '0.8.0-SNAPSHOT' + +description = """Bigtop""" + +sourceCompatibility = 1.6 +targetCompatibility = 1.6 + +task installTopLevel(type:Exec) { + workingDir "." + commandLine 'mvn clean install -f pom.xml'.split(" ") +} + +task installiTest(type:Exec) { + workingDir "." + commandLine 'mvn clean install -f bigtop-test-framework/pom.xml -DskipTests'.split(" ") +} +task installTestArtifacts(type:Exec) { + workingDir "." + commandLine 'mvn clean install -f bigtop-tests/test-artifacts/pom.xml'.split(" ") +} +task installConf(type:Exec) { + workingDir "." + commandLine 'mvn clean install -f bigtop-tests/test-execution/conf/pom.xml'.split(" ") +} +task installCommon(type:Exec) { + workingDir "." + commandLine 'mvn clean install -f bigtop-tests/test-execution/common/pom.xml'.split(" ") +} +task installAllLocalArtifacts() { + +} + +installAllLocalArtifacts.dependsOn installCommon, installConf, installTestArtifacts, installiTest, installTopLevel + +repositories { + maven { url "http://mvn01.shef.wandisco.com:8081/artifactory/libs-snapshot-local" } + maven { url "http://mvn01.shef.wandisco.com:8081/artifactory/ext-snapshot-local" } + maven { url "http://mvn01.shef.wandisco.com:8081/artifactory/libs-release-local" } + maven { url "http://repository.apache.org/snapshots" } + maven { url "http://repo.maven.apache.org/maven2" } +} http://git-wip-us.apache.org/repos/asf/bigtop/blob/fae96c50/settings.gradle ---------------------------------------------------------------------- diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..a7ac939 --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'bigtop'
