-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
101 lines (93 loc) · 3.82 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
plugins {
id "groovy"
id "org.grails.grails-gsp"
id "org.grails.grails-web"
id "com.github.erdi.webdriver-binaries"
id "war"
id "idea"
id "com.bertramlabs.asset-pipeline"
id "application"
id "eclipse"
id "org.grails.plugins.views-json"
}
group = "wood.mike"
repositories {
mavenCentral()
maven { url "https://repo.grails.org/grails/core/" }
}
configurations {
all {
resolutionStrategy.eachDependency { DependencyResolveDetails details->
if (details.requested.group == 'org.seleniumhq.selenium') {
details.useVersion('4.19.1')
}
}
}
}
dependencies {
implementation("org.grails:grails-core")
implementation("org.grails:grails-logging")
implementation("org.grails:grails-plugin-databinding")
implementation("org.grails:grails-plugin-i18n")
implementation("org.grails:grails-plugin-interceptors")
implementation("org.grails:grails-plugin-rest")
implementation("org.grails:grails-plugin-services")
implementation("org.grails:grails-plugin-url-mappings")
implementation("org.grails:grails-web-boot")
implementation("org.grails.plugins:gsp")
implementation("org.grails.plugins:hibernate5")
implementation("org.grails.plugins:scaffolding")
implementation("org.springframework.boot:spring-boot-autoconfigure")
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-jetty")
implementation("org.springframework.boot:spring-boot-starter-logging")
implementation("org.springframework.boot:spring-boot-starter-validation")
compileOnly("io.micronaut:micronaut-inject-groovy")
console("org.grails:grails-console")
runtimeOnly("com.bertramlabs.plugins:asset-pipeline-grails:4.3.0")
runtimeOnly("mysql:mysql-connector-java")
runtimeOnly("org.apache.tomcat:tomcat-jdbc")
runtimeOnly("org.fusesource.jansi:jansi:1.18")
testImplementation("io.micronaut:micronaut-inject-groovy")
testImplementation("org.grails:grails-gorm-testing-support")
testImplementation("org.grails:grails-web-testing-support")
testImplementation("org.grails.plugins:geb")
testImplementation("org.seleniumhq.selenium:selenium-api:4.19.1")
testImplementation("org.seleniumhq.selenium:selenium-remote-driver:4.19.1")
testImplementation("org.seleniumhq.selenium:selenium-support:4.19.1")
testImplementation("org.spockframework:spock-core")
testImplementation("org.testcontainers:mysql")
testImplementation("org.testcontainers:spock")
testImplementation("org.testcontainers:testcontainers")
testRuntimeOnly("org.seleniumhq.selenium:selenium-chrome-driver:4.19.1")
testRuntimeOnly("org.seleniumhq.selenium:selenium-firefox-driver:4.19.1")
testRuntimeOnly("org.seleniumhq.selenium:selenium-safari-driver:4.19.1")
testImplementation("io.micronaut:micronaut-http-client")
// non-standard
implementation "org.grails.plugins:spring-security-core:6.1.1"
implementation "org.grails.plugins:spring-security-rest:3.0.1"
implementation "org.grails.plugins:views-json:3.2.3"
}
application {
mainClass.set("wood.mike.Application")
}
java {
sourceCompatibility = JavaVersion.toVersion("17")
}
tasks.withType(Test) {
useJUnitPlatform()
systemProperty "geb.env", System.getProperty('geb.env')
systemProperty "geb.build.reportsDir", reporting.file("geb/integrationTest")
systemProperty 'webdriver.chrome.driver', "${System.getenv('CHROMEWEBDRIVER')}/chromedriver"
systemProperty 'webdriver.gecko.driver', "${System.getenv('GECKOWEBDRIVER')}/geckodriver"
}
webdriverBinaries {
chromedriver '122.0.6260.0'
geckodriver '0.33.0'
edgedriver '110.0.1587.57'
}
assets {
minifyJs = true
minifyCss = true
}