-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
56 lines (47 loc) · 1.56 KB
/
build.gradle
File metadata and controls
56 lines (47 loc) · 1.56 KB
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
plugins {
id 'java'
id 'net.serenity-bdd.serenity-gradle-plugin' version '4.0.15'
}
allprojects {
repositories {
mavenCentral()
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'net.serenity-bdd.serenity-gradle-plugin'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
dependencies {
// Serenity Core & Screenplay base
testImplementation "net.serenity-bdd:serenity-core:4.0.15"
testImplementation "net.serenity-bdd:serenity-cucumber:4.0.15"
testImplementation "net.serenity-bdd:serenity-screenplay:4.0.15"
// Motor JUnit 5
testImplementation "net.serenity-bdd:serenity-junit5:4.0.15"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.10.0"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.10.0"
testImplementation "org.junit.platform:junit-platform-suite:1.10.0"
// Lombok para todos los módulos
compileOnly 'org.projectlombok:lombok:1.18.30'
annotationProcessor 'org.projectlombok:lombok:1.18.30'
testCompileOnly 'org.projectlombok:lombok:1.18.30'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.30'
}
test {
useJUnitPlatform()
systemProperties System.getProperties()
testLogging {
events "passed", "skipped", "failed"
showStandardStreams = true
}
}
}
serenity {
sourceDirectory = "**/target/site/serenity"
outputDirectory = "target/site/serenity"
reports = ["html", "json"]
}