-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
89 lines (76 loc) · 2.23 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '5.2.0'
id "com.github.jk1.dependency-license-report" version "1.13"
id 'maven-publish'
id "com.jfrog.bintray" version "1.8.4"
}
group 'com.github.jhuynh1'
version '1.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
configurations {
uberImplementation
}
shadowJar {
project.configurations.uberImplementation.canBeResolved = true
configurations = [project.configurations.uberImplementation]
}
dependencies {
implementation group: 'org.apache.logging.log4j', name: 'log4j', version: '2.13.1', ext: 'pom'
implementation group: 'org.apache.geode', name: 'geode-core', version: '1.11.0'
implementation 'io.micrometer:micrometer-registry-wavefront:latest.release'
uberImplementation 'io.micrometer:micrometer-registry-wavefront:latest.release'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
def pomConfig = {
licenses {
license {
name "MIT"
distribution "repo"
}
}
developers {
developer {
id "jhuynh1"
name "Jason Huynh"
}
}
scm {
url "/~https://github.com/jhuynh1/geode-wavefront-publisher"
}
}
publishing {
publications {
mavenPublication(MavenPublication) {
publication -> project.shadow.component(publication)
groupId = 'com.github.jhuynh1.geode.wavefront'
artifactId = 'geode-wavefront-publisher'
version = '1.0'
pom.withXml {
def root = asNode()
root.appendNode('name', 'geode-wavefront-publisher')
root.appendNode('url', '/~https://github.com/jhuynh1/geode-wavefront-publisher')
root.children().last() + pomConfig
}
}
}
}
bintray {
user = System.getProperty('bintray.user')
key = System.getProperty('bintray.key')
publications = ['mavenPublication']
pkg {
repo = 'jhuynh1-maven'
name = 'GeodeWavefrontPublisher'
licenses = ['MIT']
vcsUrl = '/~https://github.com/jhuynh1/geode-wavefront-publisher.git'
version {
name = '1.0'
released = new Date()
}
}
}