forked from grails/grails-redis
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
96 lines (76 loc) · 2.57 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
buildscript {
ext {
grailsVersion = project.grailsVersion
}
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
}
}
version "4.0.0"
group "org.grails.plugins"
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin:"org.grails.grails-plugin"
apply plugin:"org.grails.grails-plugin-publish"
apply plugin: "org.grails.grails-gsp"
ext {
grailsVersion = project.grailsVersion
gradleWrapperVersion = project.gradleWrapperVersion
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url "https://repo.grails.org/grails/core" }
maven { url "http://repo.spring.io/milestone/" }
maven { url "http://oss.sonatype.org/content/repositories/snapshots" }
}
dependencyManagement {
imports {
mavenBom "org.grails:grails-bom:$grailsVersion"
}
applyMavenExclusions false
}
dependencies {
provided 'org.springframework.boot:spring-boot-starter-logging'
provided "org.springframework.boot:spring-boot-starter-actuator"
provided "org.springframework.boot:spring-boot-autoconfigure"
provided "org.springframework.boot:spring-boot-starter-tomcat"
provided "org.grails:grails-web-boot"
provided "org.grails:grails-dependencies"
provided 'javax.servlet:javax.servlet-api:3.1.0'
testCompile 'org.grails:grails-web-testing-support:2.0.0'
compile 'redis.clients:jedis:2.9.0'
compile 'com.google.code.gson:gson:2.6.1'
}
wrapper {
gradleVersion = gradleWrapperVersion
}
jar {
exclude "application.groovy"
exclude "src/test/projects/**"
}
bintray {
user = System.getenv("BINTRAY_USER") ?: project.hasProperty("bintrayUser") ? project.bintrayUser : ''
key = System.getenv("BINTRAY_KEY") ?: project.hasProperty("bintrayKey") ? project.bintrayKey : ''
publications = ['maven']
pkg {
repo = 'grails-plugins'
userOrg = 'ctoestreich'
name = "redis"
desc = "Grails Redis plugin"
websiteUrl = "http://grails.org/plugin/redis"
issueTrackerUrl = "https://github.com/grails-plugins/grails-redis/issues"
vcsUrl = "https://github.com/grails-plugins/grails-redis"
licenses = ['Apache-2.0']
publicDownloadNumbers = true
}
}
bintrayUpload.dependsOn sourcesJar, javadocJar