diff options
author | Konstantin Boudnik <cos@apache.org> | 2014-02-04 13:51:21 -0800 |
---|---|---|
committer | Konstantin Boudnik <cos@apache.org> | 2014-02-04 13:54:21 -0800 |
commit | fae96c50ec118e6aaad8522f271a85b49f32ca71 (patch) | |
tree | 45013f2b9335b059e864b16e60542a1e6db34bd7 | |
parent | 5444fd2c67dc854c3c76e7bf7b1e77847182a11a (diff) |
BIGTOP-1202. One-button-click way for installing all needed bits of testing framework
-rw-r--r-- | build.gradle | 45 | ||||
-rw-r--r-- | settings.gradle | 1 |
2 files changed, 46 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle new file mode 100644 index 00000000..b3271d91 --- /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" } +} diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 00000000..a7ac939a --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'bigtop' |