-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (50 loc) · 1.53 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
defaultTasks 'clean', 'test', 'aggregate'
repositories {
mavenCentral()
mavenLocal()
}
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.serenity-bdd:serenity-gradle-plugin:3.2.0"
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: "net.serenity-bdd.serenity-gradle-plugin"
sourceCompatibility = 16
targetCompatibility = 16
ext {
slf4jVersion = '1.7.7'
serenityCoreVersion = '3.2.1-SNAPSHOT'
junitVersion = '4.13.1'
assertJVersion = '3.22.0'
logbackVersion = '1.2.10'
}
dependencies {
implementation "ch.qos.logback:logback-classic:${logbackVersion}"
testImplementation "net.serenity-bdd:serenity-core:${serenityCoreVersion}",
"net.serenity-bdd:serenity-cucumber:${serenityCoreVersion}",
"net.serenity-bdd:serenity-screenplay:${serenityCoreVersion}",
"net.serenity-bdd:serenity-screenplay-webdriver:${serenityCoreVersion}",
"net.serenity-bdd:serenity-ensure:${serenityCoreVersion}",
"junit:junit:${junitVersion}",
"org.assertj:assertj-core:${assertJVersion}"
}
test {
systemProperties System.getProperties()
maxParallelForks = 8
}
serenity {
// Specify the root package of any JUnit acceptance tests
testRoot="swaglabs"
// Specify the root directory of any Cucumber feature files
requirementsDir = "src/test/resources/features"
}
gradle.startParameter.continueOnFailure = true
test.finalizedBy(aggregate)