-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
53 lines (40 loc) · 1.38 KB
/
build.gradle
File metadata and controls
53 lines (40 loc) · 1.38 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
apply plugin: 'java'
apply plugin: 'org.apache.grails.gradle.grails-publish'
apply plugin: 'groovy'
apply plugin: 'java-library'
group "cloud.wondrify"
ext {
pomDescription = 'Grails Force SSL Interceptor and Controller Annotation.'
publishedProjects = [rootProject.name]
}
configurations {
provided
doc.extendsFrom(runtime)
}
sourceSets {
main {
compileClasspath += configurations.provided
groovy.srcDirs += ['src/main/java']
java.srcDirs = []
}
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-logging'
implementation "org.springframework.boot:spring-boot-starter-actuator"
implementation "org.springframework.boot:spring-boot-autoconfigure"
implementation "org.springframework.boot:spring-boot-starter-tomcat"
implementation "org.apache.grails:grails-core"
implementation "org.apache.grails:grails-web-boot"
implementation platform("org.apache.grails:grails-bom:$grailsVersion")
testImplementation "org.apache.grails:grails-testing-support-datamapping"
testImplementation "org.mockito:mockito-core"
testImplementation "org.apache.grails:grails-testing-support-web"
}
apply {
from rootProject.layout.projectDirectory.file('gradle/java-config.gradle')
from rootProject.layout.projectDirectory.file('gradle/publish-config.gradle')
}