-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.gradle
73 lines (56 loc) · 1.98 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'maven'
apply plugin: "com.testvagrant.optimus.plugin"
/*
IMPORTANT: Optimus extension is required to run optimus plugin.
*/
optimus {
testFeed = System.getProperty("testFeed");
tags = System.getProperty("tags");
devMode = System.getProperty("devMode");
regression = System.getProperty("regression");
env = System.getProperty("env", "integration");
classpath = sourceSets.test.runtimeClasspath
}
service {
database = System.getProperty("database", "optimus")
port = System.getProperty("port", "8090")
uri = System.getProperty("uri", "mongodb://localhost:27017")
}
//Optimus Execution Rules
tasks.runFragmentation.dependsOn 'clean', 'build','spinServices'
tasks.runDistribution.dependsOn 'clean', 'build','spinServices'
tasks.build.mustRunAfter 'clean'
tasks.runFragmentation.finalizedBy 'fragmentationReport'
tasks.runDistribution.finalizedBy 'distributionReport'
tasks.fragmentationReport.finalizedBy 'stopServices'
tasks.distributionReport.finalizedBy 'stopServices'
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
mavenCentral()
}
dependencies {
classpath "gradle.plugin.com.testvagrant.optimus:OptimusGradle:3.0.1"
}
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.5.6'
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.6.0'
compile 'cglib:cglib:3.2.4'
compile group: 'com.testvagrant', name: 'optimus', version: '3.0.2'
compile 'com.testvagrant.stepdefs:stepdefs:1.0.8'
compile 'com.testvagrant.intents:intents:1.0.6'
testCompile('com.google.inject:guice:3.0')
testCompile(group: 'com.googlecode.lambdaj', name: 'lambdaj', version: '2.3.3')
testCompile(group: 'org.json', name: 'json', version: '20131018')
compile group: 'com.google.guava', name: 'guava', version: '22.0'
}