-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
93 lines (77 loc) · 2.25 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
buildscript {
repositories {
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsGradlePluginVersion"
}
}
version projectVersion
group "org.grails.plugins"
apply plugin: 'java-library'
apply plugin: 'idea'
apply plugin: 'org.grails.grails-plugin'
apply plugin: 'org.grails.internal.grails-plugin-publish'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url "https://repo.grails.org/grails/core" }
}
configurations {
documentation.extendsFrom compileClasspath
}
dependencies {
api "org.grails:grails-core:$grailsVersion"
api "org.gebish:geb-spock:$gebSpock", {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
documentation "org.codehaus.groovy:groovy:$groovyVersion"
documentation "org.codehaus.groovy:groovy-ant:$groovyVersion"
documentation "org.codehaus.groovy:groovy-templates:$groovyVersion"
documentation "com.github.javaparser:javaparser-core:3.15.14"
}
findMainClass.enabled = false
bootRun {
ignoreExitValue true
jvmArgs(
'-Dspring.output.ansi.enabled=always',
'-noverify',
'-XX:TieredStopAtLevel=1',
'-Xmx1024m')
sourceResources sourceSets.main
String springProfilesActive = 'spring.profiles.active'
systemProperty springProfilesActive, System.getProperty(springProfilesActive)
}
grailsPublish {
userOrg = 'grails'
githubSlug = 'grails/geb'
license {
name = 'Apache-2.0'
}
title = "Grails Geb Plugin"
desc = "Provides Integration with Geb for Functional Testing"
developers = [graemerocher: "Graeme Rocher", puneetbehl: "Puneet Behl"]
}
tasks.withType(Groovydoc) {
destinationDir = new File(buildDir, 'docs/api')
docTitle = "Grails Geb Plugin ${version}"
classpath = configurations.documentation
}
tasks.withType(GroovyCompile) {
configure(groovyOptions) {
forkOptions.jvmArgs = ['-Xmx1024m']
}
}
tasks.withType(Test) {
useJUnitPlatform()
}
test {
testLogging {
events "passed", "skipped", "failed"
showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
}
}
bootJar.enabled = false