-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
48 lines (40 loc) · 1.45 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
plugins {
id 'java'
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.12.1'
useJUnit5 {
version = '2.12.1'
}
}
repositories {
mavenCentral()
}
dependencies {
annotationProcessor 'org.projectlombok:lombok:1.18.12'
testCompileOnly 'org.projectlombok:lombok:1.18.12'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.12'
testImplementation 'org.junit.jupiter:junit-jupiter:5.5.1'
testImplementation 'com.codeborne:selenide:5.3.1'
testImplementation 'mysql:mysql-connector-java:8.0.19'
compile group: 'org.postgresql', name: 'postgresql', version: '42.1.4'
testImplementation 'commons-dbutils:commons-dbutils:1.7'
testCompile group: 'org.dbunit', name: 'dbunit', version: '2.5.1'
compile group: 'com.github.javafaker', name: 'javafaker', version: '1.0.2'
testImplementation 'io.qameta.allure:allure-selenide:2.12.1'
}
test {
useJUnitPlatform()
systemProperty 'selenide.headless', System.getProperty('selenide.headless')
systemProperty "db.url", System.getProperty("db.url");
systemProperty "login", System.getProperty("login", "user");
systemProperty "password", System.getProperty("password", "pass");
systemProperty "app.url", System.getProperty("app.url", "http://localhost:8080");
}