forked from Grails-Plugin-Consortium/grails-cxf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
105 lines (87 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
97
98
99
100
101
102
103
104
105
buildscript {
ext {
grailsVersion = project.grailsVersion
}
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
}
}
version "3.1.2"
group "org.grails.plugins"
apply plugin:"eclipse"
apply plugin:"idea"
apply plugin:"org.grails.grails-plugin"
apply plugin:"org.grails.grails-plugin-publish"
ext {
grailsVersion = project.grailsVersion
gradleWrapperVersion = project.gradleWrapperVersion
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.grails.org/grails/core" }
}
dependencyManagement {
imports {
mavenBom "org.grails:grails-bom:$grailsVersion"
}
applyMavenExclusions false
}
dependencies {
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
compile "org.grails:grails-core"
provided "org.grails:grails-web-boot"
provided "org.grails:grails-dependencies"
provided 'javax.servlet:javax.servlet-api:3.1.0'
console "org.grails:grails-console"
profile "org.grails.profiles:plugin"
compile 'org.apache.commons:commons-lang3:3.4'
compile 'org.apache.cxf:cxf-core:3.1.8'
compile 'org.apache.cxf:cxf-rt-frontend-jaxws:3.1.8'
compile 'org.apache.cxf:cxf-rt-frontend-jaxrs:3.1.8'
compile 'org.apache.cxf:cxf-rt-transports-http:3.1.8'
testCompile "org.grails:grails-plugin-testing"
}
task wrapper(type: Wrapper) {
gradleVersion = gradleWrapperVersion
}
grailsPublish {
githubSlug = 'Grails-Plugin-Consortium/grails-cxf'
license {
name = 'Apache-2.0'
}
title = "Grails CXF Plugin"
desc = "Grails CXF Plugin"
developers = [acetrike: "Christian Oestreich",
'ryan.j.crum': "Ryan Crum",
crafsman: "Ben Doerr"]
portalUser = ""
portalPassword = ""
}
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 = "cxf"
desc = "Grails CXF Plugin"
websiteUrl = "http://grails.org/plugin/grails-cxf"
issueTrackerUrl = "https://github.com/Grails-Plugin-Consortium/grails-cxf/issues"
vcsUrl = "https://github.com/Grails-Plugin-Consortium/grails-cxf"
licenses = ['Apache-2.0']
publicDownloadNumbers = true
}
}
jar {
exclude 'org/grails/cxf/test/**'
}
bintrayUpload.dependsOn sourcesJar, javadocJar