-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
109 lines (98 loc) · 3.91 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
102
103
104
105
106
107
108
109
plugins {
id "eclipse"
id "idea"
id "war"
id "org.graceframework.grace-web"
id "org.graceframework.asset-pipeline"
id "com.github.erdi.webdriver-binaries"
id "org.graceframework.grace-gsp"
}
ext {
adminVersion = '1.0.0-M1'
dynamicModulesVersion = '1.0.0-M1'
}
version projectVersion
group "org.graceframework.guides"
repositories {
mavenCentral()
if (projectVersion.endsWith('-SNAPSHOT')) {
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
}
}
configurations {
developmentOnly
}
dependencies {
developmentOnly("org.springframework.boot:spring-boot-devtools")
console "org.graceframework:grace-console"
implementation "org.springframework.boot:spring-boot-starter-logging"
implementation "org.springframework.boot:spring-boot-starter-validation"
implementation "org.graceframework:grace-core"
implementation "org.springframework.boot:spring-boot-starter-actuator"
implementation "org.springframework.boot:spring-boot-starter-tomcat"
implementation "org.graceframework:grace-boot"
implementation "org.graceframework:grace-logging"
implementation "org.graceframework:grace-plugin-controllers"
implementation "org.graceframework:grace-plugin-codecs"
implementation "org.graceframework:grace-plugin-databinding"
implementation "org.graceframework:grace-plugin-datasource"
implementation "org.graceframework:grace-plugin-domain-class"
implementation "org.graceframework:grace-plugin-i18n"
implementation "org.graceframework:grace-plugin-interceptors"
implementation "org.graceframework:grace-plugin-management"
implementation "org.graceframework:grace-plugin-rest"
implementation "org.graceframework:grace-plugin-services"
implementation "org.graceframework:grace-plugin-url-mappings"
implementation "org.graceframework.plugins:async"
implementation "org.graceframework.plugins:dynamic-modules:$dynamicModulesVersion"
implementation "org.graceframework.plugins:admin:$adminVersion"
implementation "org.graceframework.plugins:cache"
implementation "org.graceframework.plugins:database-migration"
implementation "org.graceframework.plugins:events"
implementation "org.graceframework.plugins:fields"
implementation "org.graceframework:grace-plugin-gsp"
implementation "org.graceframework.plugins:hibernate"
implementation "org.graceframework.plugins:scaffolding"
profile "org.graceframework.profiles:web"
runtimeOnly "org.graceframework.plugins:asset-pipeline-plugin:6.0.0"
runtimeOnly "com.h2database:h2"
testImplementation "org.graceframework:grace-test-support"
testImplementation "org.mockito:mockito-core"
testImplementation "org.graceframework.plugins:geb"
testImplementation "org.seleniumhq.selenium:selenium-remote-driver:4.2.2"
testImplementation "org.seleniumhq.selenium:selenium-api:4.2.2"
testImplementation "org.seleniumhq.selenium:selenium-support:4.2.2"
testRuntimeOnly "org.seleniumhq.selenium:selenium-chrome-driver:4.2.2"
testRuntimeOnly "org.seleniumhq.selenium:selenium-firefox-driver:4.2.2"
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
tasks.withType(Jar) {
configure {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
}
tasks.withType(GroovyCompile) {
configure(groovyOptions) {
forkOptions.jvmArgs = ['-Xmx1024m']
}
}
tasks.withType(Test) {
useJUnitPlatform()
}
webdriverBinaries {
chromedriver {
version = '126.0.6478.126'
fallbackTo32Bit = true
}
geckodriver '0.33.0'
}
tasks.withType(Test) {
systemProperty "geb.env", System.getProperty('geb.env')
systemProperty "geb.build.reportsDir", reporting.file("geb/integrationTest")
systemProperty 'webdriver.chrome.driver', System.getProperty('webdriver.chrome.driver')
systemProperty 'webdriver.gecko.driver', System.getProperty('webdriver.gecko.driver')
}