-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (44 loc) · 1.56 KB
/
Copy pathbuild.gradle
File metadata and controls
57 lines (44 loc) · 1.56 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
plugins {
id 'groovy'
id 'java-library'
id 'io.github.gradle-nexus.publish-plugin'
id 'maven-publish'
id 'signing'
id 'org.asciidoctor.jvm.convert'
}
version = projectVersion
group = 'org.grails.plugins'
ext.set('grailsVersion', libs.versions.grails.asProvider().get())
ext.set('isReleaseVersion', !version.toString().endsWith('-SNAPSHOT'))
ext.set('isSnapshot', !isReleaseVersion)
apply plugin: 'org.grails.grails-plugin' // Needs to be applied after grailsVersion has been set
repositories {
mavenCentral()
maven { url "https://repo.grails.org/grails/core/" }
}
dependencies {
api libs.jedis.client
api libs.spring.data.redis
implementation libs.groovy.core
implementation libs.spring.context
implementation libs.spring.context.support
implementation libs.grails.core
implementation libs.grails.cache
implementation libs.spring.beans
implementation libs.springboot.autoconfigure
implementation libs.jedis.client
implementation libs.spring.data.redis
testImplementation libs.grails.testing.support.core
testImplementation libs.spock.core
testImplementation libs.bytebudy
}
tasks.withType(Test).configureEach {
useJUnitPlatform()
testLogging {
events 'passed', 'skipped', 'failed'
}
}
apply from: layout.projectDirectory.file('gradle/java-config.gradle')
apply from: layout.projectDirectory.file('gradle/grails-plugin-config.gradle')
apply from: layout.projectDirectory.file('gradle/docs-config.gradle')
apply from: layout.projectDirectory.file('gradle/publishing.gradle')