-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle
44 lines (38 loc) · 1.31 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
apply plugin: 'java'
defaultTasks 'clean', 'test'
ext {
selenideVersion = '7.6.1'
testcontainersVersion = '1.20.4'
junitVersion = '5.11.4'
}
dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
testImplementation 'org.testng:testng:7.10.2'
testImplementation("com.codeborne:selenide-proxy:$selenideVersion")
testImplementation "com.codeborne:selenide-full-screenshot:$selenideVersion"
testImplementation 'org.assertj:assertj-core:3.27.0'
testRuntimeOnly 'org.slf4j:slf4j-simple:2.0.16'
testImplementation("org.testcontainers:junit-jupiter:$testcontainersVersion")
testImplementation("org.testcontainers:selenium:$testcontainersVersion")
testImplementation("org.mockito:mockito-core:5.14.2")
}
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
}
}