-
Notifications
You must be signed in to change notification settings - Fork 93
/
build.gradle
100 lines (80 loc) · 2.83 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
import org.grails.gradle.plugin.doc.PublishGuideTask
buildscript {
repositories {
maven { url "https://repo.grails.org/grails/core" }
mavenCentral()
}
dependencies {
classpath "org.grails.grails-doc:org.grails.grails-doc.gradle.plugin:$grailsVersion"
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
}
}
plugins {
id "java-library"
id "eclipse"
id "idea"
}
version = projectVersion
group = 'org.grails.plugins'
apply plugin: "org.grails.grails-plugin"
apply plugin: 'org.grails.grails-doc'
apply plugin: 'org.grails.grails-publish'
repositories {
mavenCentral()
maven { url = 'https://repo.grails.org/grails/core' }
}
compileJava {
options.release = 17
}
dependencies {
implementation platform("org.grails:grails-bom:$grailsVersion")
api "org.quartz-scheduler:quartz:$quartzVersion"
implementation "org.grails:grails-bootstrap"
implementation "org.grails:grails-core"
implementation "org.apache.groovy:groovy-sql"
implementation "org.springframework:spring-beans"
implementation "org.springframework:spring-context"
implementation "org.springframework:spring-context-support"
compileOnly "org.apache.groovy:groovy"
compileOnly "jakarta.annotation:jakarta.annotation-api"
testImplementation "org.spockframework:spock-core"
testRuntimeOnly "org.slf4j:slf4j-nop" // Get rid of warning about missing slf4j implementation during test task
}
jar {
exclude "application.groovy"
exclude "src/test/projects/**"
}
test {
useJUnitPlatform()
}
configurations.register('groovydocConfiguration')
configurations.register('guideConfiguration')
dependencies {
groovydocConfiguration localGroovy(), {
because 'groovydoc needs to run with the same version as Gradle'
}
guideConfiguration "org.grails:grails-docs"
guideConfiguration "org.apache.groovy:groovy-templates"
}
tasks.withType(Groovydoc).configureEach {
access = GroovydocAccess.PRIVATE
processScripts = false
includeMainForScripts = false
includeAuthor = true
classpath = configurations.groovydocConfiguration
groovyClasspath = configurations.groovydocConfiguration
}
tasks.withType(PublishGuideTask).configureEach {
classpath = configurations.guideConfiguration
}
grailsPublish {
githubSlug = 'grails/grails-quartz'
license {
name = 'Apache-2.0'
}
title = 'Grails Quartz Plugin'
desc = 'This plugin allows your Grails application to schedule jobs to be executed using a specified interval or cron expression.'
developers = ['burtbeckwith': 'Burt Beckwith', 'jeffscottbrown': 'Jeff Scott Brown', 'graemerocher': 'Graeme Rocher',
'ryanvanderwerf':'Ryan Vanderwerf','sergeynebolsin': 'Sergey Nebolsin', 'puneetbehl': 'Puneet Behl',
'vitaliisamolovskikh':'Vitalii Samolovskikh']
}