aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorKonstantin Boudnik <cos@apache.org>2014-02-04 13:51:21 -0800
committerKonstantin Boudnik <cos@apache.org>2014-02-04 13:54:21 -0800
commitfae96c50ec118e6aaad8522f271a85b49f32ca71 (patch)
tree45013f2b9335b059e864b16e60542a1e6db34bd7 /build.gradle
parent5444fd2c67dc854c3c76e7bf7b1e77847182a11a (diff)
BIGTOP-1202. One-button-click way for installing all needed bits of testing framework
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle45
1 files changed, 45 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" }
+}