-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
117 lines (100 loc) · 2.73 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
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.netflix.nebula:nebula-publishing-plugin:4.9.1'
}
}
plugins {
id 'nebula.dependency-recommender' version '3.6.3'
id 'nebula.dependency-lock' version '4.3.0'
id 'nebula.release' version '4.1.0'
id 'nebula.contacts' version '3.0.1'
id 'nebula.info' version '3.2.1'
id 'nebula.nebula-bintray' version '3.5.0'
id "org.standardout.versioneye" version '1.4.0'
}
apply plugin: 'java'
apply plugin: 'nebula.maven-publish'
apply plugin: 'nebula.nebula-bintray-publishing'
apply plugin: 'nebula.source-jar'
apply plugin: 'nebula.javadoc-jar'
apply plugin: 'nebula.info'
// QA plugins
apply plugin: 'pmd'
apply plugin: 'findbugs'
apply plugin: 'build-dashboard'
group 'com.github.kennedyoliveira'
description = 'Implementation of a Metrics Event Stream using Vert.x'
pmd {
toolVersion = '5.5.1'
}
def recomendationsFile = rootProject.file('dependencies-version.properties')
dependencyRecommendations {
propertiesFile file: recomendationsFile
}
repositories {
mavenCentral()
}
contacts {
'kennedy.oliveira@outlook.com' {
moniker 'Kennedy Oliveira'
github 'kennedyoliveira'
roles 'owner', 'developer', 'notify'
}
}
dependencies {
compile 'com.netflix.hystrix:hystrix-core'
compile 'com.netflix.hystrix:hystrix-serialization'
compile group: 'io.vertx', name: 'vertx-core'
compile group: 'io.vertx', name: 'vertx-rx-java'
compile group: 'io.vertx', name: 'vertx-web'
testCompile group: 'io.vertx', name: 'vertx-unit'
testCompile 'junit:junit'
}
task wrapper(type: Wrapper) {
gradleVersion = '3.1'
}
// qa plugin configuration to export html instead of xml
tasks.withType(FindBugs) {
reports {
html.enabled = true
xml.enabled = false
}
}
tasks.withType(Pmd) {
reports {
html.enabled = true
xml.enabled = false
}
}
publishing {
publications {
nebula(MavenPublication) {
pom.withXml {
asNode().appendNode('licenses').appendNode('license').with {
appendNode('name', 'MIT License')
appendNode('url', 'https://opensource.org/licenses/MIT')
appendNode('distribution', 'repo')
}
}
}
}
}
bintray {
pkg {
repo = 'maven'
userOrg = ''
licenses = ['MIT']
websiteUrl = 'https://github.com/kennedyoliveira/hystrix-vertx-metrics-stream'
issueTrackerUrl = 'https://github.com/kennedyoliveira/hystrix-vertx-metrics-stream/issues'
vcsUrl = 'https://github.com/kennedyoliveira/hystrix-vertx-metrics-stream.git'
labels = ['gradle', 'hyxtrix', 'vertx3', 'metrics-stream']
publicDownloadNumbers = true
version {
gpg {
if (project.hasProperty('bintraySignPass'))
passphrase = project.property('bintraySignPass')
}
}
}
}