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/9741a99c Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/9741a99c Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/9741a99c Branch: refs/heads/master Commit: 9741a99c9480a76839f07862a8db63f1ce443bed Parents: 75b0fa7 Author: Konstantin Boudnik <[email protected]> Authored: Tue Feb 4 13:51:21 2014 -0800 Committer: Konstantin Boudnik <[email protected]> Committed: Tue Feb 4 13:51:21 2014 -0800 ---------------------------------------------------------------------- build.gradle | 45 +++++++++++++++++++++++++++++++++++++++++++++ settings.gradle | 1 + 2 files changed, 46 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/9741a99c/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/9741a99c/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'
