-
Notifications
You must be signed in to change notification settings - Fork 128
/
Copy pathbuild.gradle.kts
41 lines (36 loc) · 1.4 KB
/
build.gradle.kts
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
plugins {
id("io.micronaut.build.internal.security-tests")
groovy
`java-library`
}
repositories {
mavenCentral()
}
dependencies {
testImplementation(mn.snakeyaml)
testImplementation(mn.reactor)
testImplementation(mn.micronaut.http.server.netty)
testImplementation(projects.testSuiteKeycloak)
testImplementation(projects.testSuiteKeycloakDocker)
testImplementation(projects.testSuiteUtils)
testImplementation(projects.testSuiteUtilsSecurity)
testImplementation(projects.micronautSecurityOauth2)
testImplementation(projects.micronautSecurityJwt)
testImplementation(projects.micronautSecuritySession)
testImplementation(libs.geb.spock)
testImplementation(platform(mnTestResources.boms.testcontainers))
testImplementation(libs.testcontainers.selenium)
testImplementation(libs.selenium.remote.driver)
testImplementation(libs.selenium.api)
testImplementation(mn.micronaut.inject.groovy)
testImplementation(libs.selenium.support)
testRuntimeOnly(libs.selenium.firefox.driver)
testRuntimeOnly(mnLogging.logback.classic)
testImplementation(mn.micronaut.websocket)
testImplementation(mn.micronaut.jackson.databind)
}
tasks.withType<Test> {
useJUnitPlatform()
systemProperty("geb.env", System.getProperty("geb.env") ?: "dockerFirefox")
systemProperty("webdriver.gecko.driver", System.getProperty("webdriver.gecko.driver"))
}