-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
127 lines (112 loc) · 4.29 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
buildscript {
ext {
grailsVersion = project.grailsVersion
gormVersion = project.gormVersion
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath "org.grails.plugins:hibernate5:${gormVersion-".RELEASE"}"
classpath "io.github.gradle-nexus:publish-plugin:1.0.0"
}
}
plugins {
id "io.spring.dependency-management" version "0.3.1.RELEASE"
id "com.jfrog.bintray" version "1.6"
}
ext {
gradleWrapperVersion = project.gradleWrapperVersion
grailsVersion = project.grailsVersion
gormVersion = project.gormVersion
hibernateVersion = project.hibernateVersion
}
version "1.0.5"
group "com.neilab.plugins"
apply plugin:"eclipse"
apply plugin:"idea"
apply plugin:"org.grails.grails-plugin"
apply plugin:"org.grails.grails-plugin-publish"
apply plugin:"maven-publish"
apply plugin:"java-library"
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
// compile "org.grails:grails-core"
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:scaffolding"
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 "org.apache.tomcat:tomcat-jdbc"
testCompile "org.grails:grails-gorm-testing-support"
testCompile "org.grails:grails-plugin-testing"
testCompile "org.grails.plugins:geb"
testCompile "org.grails:grails-web-testing-support"
testRuntime "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
testRuntime "net.sourceforge.htmlunit:htmlunit:2.18"
testCompile "com.h2database:h2"
// compileOnly "org.grails.plugins:hibernate5"
// compileOnly "org.hibernate:hibernate-core:5.4.0.Final"
// compileOnly "org.hibernate:hibernate-ehcache:5.4.0.Final"
provided 'org.grails.plugins:hibernate5'
provided "org.hibernate:hibernate-core:$hibernateVersion"
provided("org.hibernate:hibernate-ehcache:$hibernateVersion") {
exclude group: 'net.sf.ehcache', module: 'ehcache'
}
compileOnly "com.h2database:h2"
compile 'com.bertramlabs.plugins:karman-core:1.2.6'
compile 'com.bertramlabs.plugins:karman-grails:1.1.3'
compile group: 'org.imgscalr', name: 'imgscalr-lib', version: '4.2'
compile group: 'commons-fileupload', name: 'commons-fileupload', version: '1.3.3'
}
bootRun {
jvmArgs(
'-Dspring.output.ansi.enabled=always',
'-noverify',
'-XX:TieredStopAtLevel=1',
'-Xmx1024m')
addResources = true
String springProfilesActive = 'spring.profiles.active'
systemProperty springProfilesActive, System.getProperty(springProfilesActive)
}
bootRepackage.enabled = false
grailsPublish {
// githubSlug = 'foo/bar'
// userOrg = 'NEiLAB, LLC'
vcsUrl = "https://github.com/neilabdev/remora"
issueTrackerUrl = "https://github.com/neilabdev/remora/issues"
license {
name = 'Apache-2.0'
}
title = "$project.name"
desc = "Remora is a Grails Image / File Upload Plugin formally based on the excellent Selfie plugin. Use Remora to attach files to your domain models, upload to a CDN, validate content, produce thumbnails."
developers = [jwhitfield: "James Whitfield"]
websiteUrl = "https://github.com/neilabdev/remora"
}
jar {
exclude "com/neilab/plugins/remora/test/**/**"
}