-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.gradle
More file actions
33 lines (30 loc) · 812 Bytes
/
pom.gradle
File metadata and controls
33 lines (30 loc) · 812 Bytes
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
def pomConfig = {
licenses {
license {
name "GPL-3.0"
url "https://www.gnu.org/licenses/gpl-3.0.html"
distribution "repo"
}
}
developers {
developer {
id "RoccoDev"
name "RoccoDev"
organization "--"
organizationUrl "http://www.rocco.dev"
}
}
scm {
url "https://github.com/Beezig/hive-api-wrapper.git"
}
}
def withPom = { pom ->
pom.withXml {
def root = asNode()
root.appendNode('name', 'hive-api-wrapper')
root.appendNode('description', 'An API Wrapper for The Hive written in Java')
root.appendNode('url', 'https://github.com/Beezig/hive-api-wrapper')
root.children().last() + pomConfig
}
}
ext.withPom = withPom