generated from serenity-bdd/serenity-junit-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
52 lines (44 loc) · 1.48 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
plugins {
id 'java'
id 'eclipse' // optional (to generate Eclipse project files)
id 'idea' // optional (to generate IntelliJ IDEA project files)
id "net.serenity-bdd.serenity-gradle-plugin" version "3.0.2"
}
defaultTasks 'clean', 'test', 'aggregate'
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
slf4jVersion = '1.7.7'
serenityCoreVersion = '3.0.2'
junitVersion = '5.8.1'
assertJVersion = '3.8.0'
logbackVersion = '1.2.3'
}
dependencies {
implementation "ch.qos.logback:logback-classic:${logbackVersion}"
testImplementation "net.serenity-bdd:serenity-core:${serenityCoreVersion}",
"net.serenity-bdd:serenity-junit5:${serenityCoreVersion}",
"net.serenity-bdd:serenity-screenplay:${serenityCoreVersion}",
"net.serenity-bdd:serenity-screenplay-webdriver:${serenityCoreVersion}",
"net.serenity-bdd:serenity-ensure:${serenityCoreVersion}",
platform("org.junit:junit-bom:${junitVersion}"),
'org.junit.jupiter:junit-jupiter',
"org.assertj:assertj-core:${assertJVersion}"
}
test {
useJUnitPlatform()
systemProperties System.getProperties()
maxParallelForks = 5
testLogging {
//
// Uncomment to show Serenity output to the console
//
// showStandardStreams = true
events "passed", "skipped", "failed"
}
}
gradle.startParameter.continueOnFailure = true
test.finalizedBy(aggregate)