forked from mlueders/common-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
113 lines (99 loc) · 3.52 KB
/
build.gradle
File metadata and controls
113 lines (99 loc) · 3.52 KB
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
buildscript {
repositories {
jcenter()
maven {
url "https://dl.bintray.com/openmastery/maven"
}
}
dependencies {
classpath "com.bancvue:gradle-core:1.4-om.0"
}
}
plugins {
id "com.jfrog.bintray" version "1.7"
}
apply plugin: "com.bancvue.core-oss"
apply plugin: "com.bancvue.maven-publish-ext"
apply plugin: "com.bancvue.component-test"
repositories {
jcenter()
}
configurations {
client
all*.exclude group:'org.codehaus.jackson'
}
sourceSets {
client {
java {
srcDir "src/main/java"
include "com/bancvue/rest/api/**"
include "com/bancvue/rest/client/**"
include "com/bancvue/rest/config/**"
include "com/bancvue/rest/envelope/**"
include "com/bancvue/rest/exception/*"
}
}
}
dependencies {
compile "org.glassfish.jersey.core:jersey-server:2.6"
compile 'org.glassfish.jersey.core:jersey-client:2.6'
compile "org.glassfish.jersey.ext:jersey-bean-validation:2.6"
compile 'com.fasterxml.jackson.core:jackson-core:2.3.2'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.3.2'
compile 'com.fasterxml.jackson.core:jackson-databind:2.3.2'
compile 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.3.2'
compile "org.apache.httpcomponents:httpcore:4.2.2"
compile 'joda-time:joda-time:2.9.4'
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.6.3"
compileOnly "org.slf4j:slf4j-api:1.7.21"
compileOnly 'org.projectlombok:lombok:1.12.2'
clientCompile "org.slf4j:slf4j-api:1.7.21"
clientCompile 'joda-time:joda-time:2.9.4'
clientCompile "org.apache.httpcomponents:httpcore:4.2.2"
clientCompile 'org.glassfish.jersey.core:jersey-client:2.6'
clientCompile "org.glassfish.jersey.ext:jersey-bean-validation:2.6"
clientCompile 'com.fasterxml.jackson.core:jackson-databind:2.3.2'
clientCompile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.6.3"
clientCompile 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.3.2'
clientCompileOnly 'org.projectlombok:lombok:1.12.2'
testCompile 'org.codehaus.groovy:groovy-all:2.1.2'
testCompile 'junit:junit:4.11'
testCompile 'cglib:cglib-nodep:2.2.2'
testCompile 'org.objenesis:objenesis:1.3'
testCompile('org.spockframework:spock-unitils:0.7-groovy-2.0') {
exclude group: 'org.codehaus.groovy'
}
testCompile("org.spockframework:spock-spring:0.7-groovy-2.0") {
exclude group: "org.codehaus.groovy"
}
testCompile "org.springframework.boot:spring-boot-starter-web:1.0.0.RELEASE"
testCompile "org.springframework.boot:spring-boot-starter-jetty:1.0.0.RELEASE"
testCompile "org.springframework:spring-test:4.0.1.RELEASE"
testCompile "org.glassfish.jersey.core:jersey-server:2.7"
testCompile("org.glassfish.jersey.ext:jersey-spring3:2.7") {
exclude group:"junit"
}
}
publishing_ext {
publication('client')
}
license {
ext.name = "BancVue, LTD"
skipExistingHeaders true
excludes(["**/*.properties", "**/*.xml", "**/*.yml", "db/**", "licenses/**"])
}
bintray {
user = project.hasProperty("bintray.user") ? project.getProperty("bintray.user") : ""
key = project.hasProperty("bintray.key") ? project.getProperty("bintray.key") : ""
publications = ['commonRest', 'commonRestClient']
pkg {
repo = 'maven'
userOrg = 'openmastery'
name = project.group + ':' + project.ext['artifactId']
desc = project.description
licenses = ['Apache-2.0']
websiteUrl = 'https://github.com/openmastery/common-rest'
issueTrackerUrl = 'https://github.com/openmastery/common-rest/issues'
vcsUrl = 'https://github.com/openmastery/common-rest.git'
}
}