-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathbuild.gradle
40 lines (33 loc) · 1016 Bytes
/
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
apply plugin: 'java'
defaultTasks 'clean', 'test'
repositories {
mavenCentral()
mavenLocal()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
mavenContent { snapshotsOnly() }
}
}
dependencies {
testImplementation 'com.codeborne:selenide-appium:7.7.2'
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4'
testImplementation 'commons-io:commons-io:2.18.0'
testRuntimeOnly 'org.slf4j:slf4j-simple:2.0.16'
}
[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
tasks.withType(Test).configureEach {
useJUnitPlatform()
systemProperties = [
'file.encoding': 'UTF-8'
]
testLogging.showStandardStreams = true
}
test {
include 'nope/**/*'
}
tasks.register("android", Test) {
include 'org/selenide/examples/appium/**/*'
}