-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathbuild.gradle
More file actions
66 lines (53 loc) · 2.27 KB
/
build.gradle
File metadata and controls
66 lines (53 loc) · 2.27 KB
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
file('../../gradle.properties').withInputStream {
// Inherit versions from main project
def mainProjectProps = new Properties()
mainProjectProps.load(it)
mainProjectProps
.findAll { !findProperty(it.key.toString()) }
.findAll {it.key.toString().endsWith('Version') }
.each { k, v -> ext.set(k, v) }
}
version = '0.1'
group = 'testapp1'
apply plugin: 'org.apache.grails.gradle.grails-web'
apply plugin: 'org.apache.grails.gradle.grails-gsp'
apply plugin: 'cloud.wondrify.asset-pipeline'
repositories {
maven { url = 'https://repo.grails.org/grails/restricted' }
maven {
url = 'https://repository.apache.org/content/groups/snapshots'
content {
includeVersionByRegex('org[.]apache[.](grails|groovy).*', '.*', '.*-SNAPSHOT')
}
}
}
dependencies {
implementation platform("org.apache.grails:grails-bom:$grailsVersion")
implementation "com.icegreen:greenmail:$greenmailVersion"
implementation 'org.grails.plugins:grails-mail'
implementation 'org.apache.grails:grails-core'
implementation 'org.apache.grails:grails-controllers'
implementation 'org.apache.grails:grails-gsp'
testAndDevelopmentOnly 'org.webjars.npm:bootstrap'
testAndDevelopmentOnly 'org.webjars.npm:bootstrap-icons'
testAndDevelopmentOnly 'org.webjars.npm:jquery'
runtimeOnly 'cloud.wondrify:asset-pipeline-grails'
runtimeOnly 'org.fusesource.jansi:jansi'
runtimeOnly 'org.apache.grails:grails-services'
runtimeOnly 'org.apache.grails:grails-i18n'
runtimeOnly 'org.apache.grails:grails-url-mappings'
runtimeOnly 'org.springframework.boot:spring-boot-autoconfigure'
runtimeOnly 'org.springframework.boot:spring-boot-starter-logging'
runtimeOnly 'org.springframework.boot:spring-boot-starter-tomcat'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
integrationTestImplementation testFixtures('org.apache.grails:grails-geb')
integrationTestImplementation 'org.apache.grails.testing:grails-testing-support-core'
integrationTestImplementation 'org.spockframework:spock-core'
}
compileJava.options.release = javaVersion.toInteger()
tasks.withType(Test).configureEach {
useJUnitPlatform()
testLogging {
events 'passed', 'skipped', 'failed'
}
}