-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
112 lines (94 loc) · 3.33 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
101
102
103
104
105
106
107
108
109
110
111
112
apply from: "gradle/asciidoc.gradle"
buildscript {
repositories {
mavenLocal()
maven { url "https://dl.bintray.com/hmtmcse/maven/" }
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:3.0.10"
classpath "org.asciidoctor:asciidoctor-gradle-jvm:2.3.0"
}
}
version "1.0.0"
group "com.hmtmcse.gs"
apply plugin:"idea"
apply plugin:"org.grails.grails-plugin"
apply plugin:"org.grails.grails-plugin-publish"
apply plugin:"asset-pipeline"
apply plugin:"org.grails.grails-gsp"
apply plugin: 'com.jfrog.bintray'
repositories {
mavenLocal()
maven { url "https://dl.bintray.com/hmtmcse/maven/" }
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.7'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.9.7'
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
compile "org.grails:grails-core"
compile "org.springframework.boot:spring-boot-starter-actuator"
compile "org.springframework.boot:spring-boot-starter-tomcat"
compile "org.grails:grails-web-boot"
compile "org.grails:grails-logging"
compile "org.grails:grails-plugin-rest"
compile "org.grails:grails-plugin-databinding"
compile "org.grails:grails-plugin-i18n"
compile "org.grails:grails-plugin-services"
compile "org.grails:grails-plugin-url-mappings"
compile "org.grails:grails-plugin-interceptors"
compile "org.grails.plugins:cache"
compile "org.grails.plugins:async"
compile "org.grails.plugins:gsp"
console "org.grails:grails-console"
profile "org.grails.profiles:web-plugin"
provided "org.grails:grails-plugin-services"
provided "org.grails:grails-plugin-domain-class"
runtime "com.bertramlabs.plugins:asset-pipeline-grails:3.0.10"
runtime 'org.codehaus.groovy:groovy-dateutil'
testCompile "org.grails:grails-gorm-testing-support"
testCompile "org.grails:grails-web-testing-support"
}
bootRun {
jvmArgs(
'-Dspring.output.ansi.enabled=always',
'-noverify',
'-XX:TieredStopAtLevel=1',
'-Xmx1024m')
sourceResources sourceSets.main
String springProfilesActive = 'spring.profiles.active'
systemProperty springProfilesActive, System.getProperty(springProfilesActive)
}
// enable if you wish to package this plugin as a standalone application
bootJar.enabled = false
grailsPublish {
user = ''
key = ''
githubSlug = 'hmtmcse/grails-swagger'
license {
name = 'MIT'
}
title = "Grails Swagger"
desc = "Full plugin description"
developers = [hmtmcse:"H.M.Touhid Mia (HMTMCSE)"]
}
bintray {
publications = ['maven']
publish = true
pkg {
userOrg = 'Grails'
name = "$project.name"
issueTrackerUrl = "https://github.com/hmtmcse/grails-swagger/issues"
vcsUrl = "https://github.com/hmtmcse/grails-swagger"
version {
attributes = ['grails-plugin': "$project.group:$project.name"]
name = project.version
}
}
}
assets {
packagePlugin = true
}