-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
51 lines (41 loc) · 1.47 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
plugins {
id 'java'
id 'io.freefair.lombok' version '4.1.6'
id 'io.qameta.allure' version '2.8.1'
}
group 'ru.netology'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
allure {
autoconfigure = true
version = '2.13.0'
useJUnit5 {
version = '2.13.0'
}
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.1'
testImplementation 'org.junit.jupiter:junit-jupiter-engine'
testImplementation 'mysql:mysql-connector-java:8.0.22'
implementation group: 'org.postgresql', name: 'postgresql', version: '42.2.19'
testImplementation 'com.github.javafaker:javafaker:1.0.2'
testImplementation 'com.codeborne:selenide:5.18.0'
testImplementation 'commons-dbutils:commons-dbutils:1.7'
testImplementation 'io.rest-assured:rest-assured:4.3.0'
compile group: 'io.qameta.allure', name: 'allure-selenide', version: '2.8.1'
testImplementation 'io.qameta.allure:allure-selenide:2.13.0'
}
test {
useJUnitPlatform()
systemProperty 'selenide.headless', System.getProperty('selenide.headless')
systemProperty 'db.url', System.getProperty('db.url')
systemProperty 'db.user', System.getProperty('db.user', "app")
systemProperty 'db.password', System.getProperty('db.password', "pass")
systemProperty 'sut.url', System.getProperty('sut.url', "http://localhost:8080/")
}