-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (52 loc) · 1.73 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
defaultTasks 'clean', 'test'
apply plugin: "java"
apply plugin: 'idea'
apply plugin: 'net.serenity-bdd.aggregator'
sourceCompatibility = 1.8
targetCompatibility = 1.8
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
jcenter()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
buildscript {
repositories {
mavenLocal()
jcenter()
}
ext {
serenityVersion = "2.3.13"
serenityGradleVersion = "2.3.13"
serenityCucumberVersion = "2.2.6"
}
dependencies {
classpath "net.serenity-bdd:serenity-gradle-plugin:$rootProject.ext.serenityGradleVersion"
classpath "net.serenity-bdd:serenity-single-page-report:2.4.34"
}
}
serenity {
reports = ["single-page-html"]
}
configurations.all {
resolutionStrategy {
force "io.cucumber:cucumber-core:5.0.0"
}
}
dependencies {
implementation "net.serenity-bdd:serenity-core:$rootProject.ext.serenityVersion"
implementation "net.serenity-bdd:serenity-junit:$rootProject.ext.serenityVersion"
implementation "net.serenity-bdd:serenity-screenplay:$rootProject.ext.serenityVersion"
implementation "net.serenity-bdd:serenity-screenplay-webdriver:$rootProject.ext.serenityVersion"
testImplementation "net.serenity-bdd:serenity-cucumber5:$rootProject.ext.serenityCucumberVersion"
testImplementation 'junit:junit:4.12'
testImplementation 'org.assertj:assertj-core:3.9.1'
// implementation 'org.slf4j:slf4j-simple:2.0.0-alpha1'
implementation group: 'org.hamcrest', name: 'hamcrest', version: '2.2'
implementation group: 'io.appium', name: 'java-client', version: '7.5.1'
}
gradle.startParameter.continueOnFailure = true
test.finalizedBy(aggregate, reports)