forked from hhu-bsinfo/dxmem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.gradle
55 lines (47 loc) · 1.33 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
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]'
}
}
scm {
url 'https://github.com/hhu-bsinfo/dxmem'
}
}
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', 'DXRAM\'s memory allocator for many small objects')
root.appendNode('name', 'dxmem')
root.appendNode('url', 'https://github.com/hhu-bsinfo/dxmem')
root.children().last() + pomConfig
}
}
}
}