This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
/
build.gradle
41 lines (36 loc) · 1.59 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
apply plugin: 'idea'
ext.compatibilityVersion = 1.7
task wrapper(type: Wrapper) {
gradleVersion = gradleWrapperVersion
}
idea.project {
jdkName = '1.8'
languageLevel = compatibilityVersion
}
task createTestApp(type: CreateGrailsApp) {
sources = 'test-app-sources'
app = 'test-app'
options = {
addGrailsProjectDependency('grails-plugin')
comment('testRuntime "org.seleniumhq.selenium:selenium-htmlunit-driver')
comment('testRuntime "net.sourceforge.htmlunit:htmlunit')
addDependency('testCompile', 'org.seleniumhq.selenium:selenium-support:3.0.1')
addDependency('testCompile', 'org.seleniumhq.selenium:selenium-chrome-driver:3.0.1')
addDependency('testCompile', 'io.github.bonigarcia:webdrivermanager:1.5.0')
addDependency('testCompile', 'org.gebish:geb-spock:1.1.1')
}
}
task createWebsocketsTestApp(type: CreateGrailsApp) {
sources = 'websockets-test-app-sources'
app = 'websockets-test-app'
options = {
addGrailsProjectDependency('grails-plugin')
comment('testRuntime "org.seleniumhq.selenium:selenium-htmlunit-driver')
comment('testRuntime "net.sourceforge.htmlunit:htmlunit')
addDependency('compile', 'org.grails.plugins:grails-spring-websocket:2.3.0')
addDependency('testCompile', 'org.seleniumhq.selenium:selenium-support:3.0.1')
addDependency('testCompile', 'org.seleniumhq.selenium:selenium-chrome-driver:3.0.1')
addDependency('testCompile', 'io.github.bonigarcia:webdrivermanager:1.5.0')
addDependency('testCompile', 'org.gebish:geb-spock:1.1.1')
}
}