forked from hhu-bsinfo/dxram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.gradle
62 lines (52 loc) · 1.49 KB
/
publish.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
def pomConfig = {
licenses {
license {
name 'GNU General Public License, Version 3.0'
url 'https://www.gnu.org/licenses/gpl-3.0.txt'
distribution "repo"
}
}
developers {
developer {
id 'stnot'
name 'Stefan Nothaas'
email '[email protected]'
}
developer {
id 'KevinBeineke'
name 'Kevin Beineke'
email '[email protected]'
}
developer {
id 'filkra'
name 'Filip Krakowski'
email '[email protected]'
}
}
scm {
url 'https://github.com/hhu-bsinfo/dxram'
}
}
publishing {
publications {
mavenPublication(MavenPublication) {
from components.java
artifact sourcesJar {
classifier 'sources'
}
artifact javadocJar {
classifier 'javadoc'
}
groupId project.group
artifactId project.name
version project.version
pom.withXml {
def root = asNode()
root.appendNode('description', 'A distributed in-memory key-value storage for billions of small objects')
root.appendNode('name', 'dxram')
root.appendNode('url', 'https://github.com/hhu-bsinfo/dxram')
root.children().last() + pomConfig
}
}
}
}