/
build.gradle
32 lines (27 loc) · 1.18 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
ext {
artifactId = 'selenide-selenoid'
}
dependencies {
api project(":statics")
implementation("org.apache.httpcomponents.client5:httpclient5:$httpClientVersion")
implementation("commons-io:commons-io:2.16.1")
implementation("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion")
testImplementation project(':statics').sourceSets.test.output
testImplementation project(':modules:core').sourceSets.test.output
testRuntimeOnly("org.seleniumhq.selenium:selenium-devtools-v100:4.2.2") {transitive = false}
testRuntimeOnly project(':modules:proxy')
testImplementation("org.junit.jupiter:junit-jupiter-api:$junitVersion")
testImplementation("org.junit.jupiter:junit-jupiter:$junitVersion")
testImplementation("org.assertj:assertj-core:$assertjVersion")
testImplementation("org.mockito:mockito-core:$mockitoVersion")
testRuntimeOnly("org.slf4j:slf4j-simple:$slf4jVersion")
}
tasks.register('selenoidTests', Test) {
systemProperties['selenide.browser'] = 'chrome'
include 'it/selenoid/**/*'
exclude 'org/selenide/**/*'
exclude 'com/codeborne/**/*'
outputs.upToDateWhen { false }
maxParallelForks = 1
}
apply from: rootProject.file('gradle/publish-module.gradle')