-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathbuild.gradle
More file actions
49 lines (42 loc) · 1.59 KB
/
build.gradle
File metadata and controls
49 lines (42 loc) · 1.59 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
apply plugin: 'java'
defaultTasks 'clean', 'test'
ext {
selenideVersion = '7.16.0'
testcontainersVersion = '1.21.4'
junitVersion = '6.0.3'
}
dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
testImplementation "org.junit.platform:junit-platform-engine:${junitVersion}"
testImplementation "org.junit.platform:junit-platform-launcher:${junitVersion}"
testImplementation 'org.testng:testng:7.12.0'
testImplementation("com.codeborne:selenide-appium:$selenideVersion")
testImplementation("com.codeborne:selenide-proxy:$selenideVersion")
testImplementation "com.codeborne:selenide-full-screenshot:$selenideVersion"
implementation 'com.codeborne:pdf-test:2.1.0'
testImplementation 'org.assertj:assertj-core:3.27.7'
testRuntimeOnly 'org.slf4j:slf4j-simple:2.0.17'
testImplementation("org.testcontainers:junit-jupiter:$testcontainersVersion")
testImplementation("org.testcontainers:selenium:$testcontainersVersion")
testImplementation("org.mockito:mockito-core:5.23.0")
}
repositories {
mavenCentral()
mavenLocal()
}
[compileJava, compileTestJava]*.options.collect {options -> options.encoding = 'UTF-8'}
[compileJava, compileTestJava]*.options.collect {options -> options.debug = true}
[compileJava, compileTestJava]*.sourceCompatibility = 17
[compileJava, compileTestJava]*.targetCompatibility = 17
test {
useJUnitPlatform()
systemProperties = [
'file.encoding': 'UTF-8',
'selenide.browser': 'chrome',
'BUILD_URL': System.getenv()['BUILD_URL'],
]
testLogging {
outputs.upToDateWhen {false}
showStandardStreams = true
}
}