-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·63 lines (56 loc) · 2.23 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
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn more about Gradle by exploring our samples at https://docs.gradle.org/7.1.1/samples
*/
plugins {
id 'java'
id 'io.qameta.allure' version '2.8.1'
}
// Versioning of dependencies
def cucumberVersion = '6.11.0'
def junitVersion = '5.7.2'
def selenideVersion = '5.24.0'
def picocontainer = '6.11.0'
def lombokVersion = '1.18.20'
def assertJVersion = '3.20.2'
def allureVersion = '2.14.0'
def slf4j = '1.7.32'
def logbackVersion = '1.2.5'
repositories {
mavenCentral()
}
dependencies {
implementation "com.codeborne:selenide:${selenideVersion}"
implementation "io.cucumber:cucumber-java:${cucumberVersion}"
testImplementation "io.cucumber:cucumber-junit-platform-engine:${cucumberVersion}"
implementation 'org.junit.platform:junit-platform-suite:1.9.0'
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testImplementation "io.cucumber:cucumber-picocontainer:${picocontainer}"
compileOnly "org.projectlombok:lombok:${lombokVersion}"
testImplementation "org.assertj:assertj-core:${assertJVersion}"
implementation "io.qameta.allure:allure-selenide:${allureVersion}"
implementation "io.qameta.allure:allure-cucumber6-jvm:${allureVersion}"
implementation "org.slf4j:slf4j-api:${slf4j}"
implementation "ch.qos.logback:logback-core:${logbackVersion}"
implementation "ch.qos.logback:logback-classic:${logbackVersion}"
implementation 'com.github.javafaker:javafaker:1.0.2'
}
tasks {
test {
// REQUIRED: Tell Gradle to use the JUnit 5 platform to execute tests
// see https://docs.gradle.org/current/userguide/java_testing.html#using_junit5
useJUnitPlatform()
// OPTIONAL: Ignore test failures so that build pipelines won't get blocked by failing examples/scenarios
ignoreFailures = true
// OPTIONAL: Copy all system properties from the command line (-D...) to the test environment
systemProperties(project.gradle.startParameter.systemPropertiesArgs)
}
}
allure {
version = allureVersion
autoconfigure = false
aspectjweaver = true
}