forked from florent37/Multiplatform-LiveData
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.gradle
33 lines (30 loc) · 856 Bytes
/
pom.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
def pomConfig = {
licenses {
license {
name "The Apache Software License, Version 2.0"
url "http://www.apache.org/licenses/LICENSE-2.0.txt"
distribution "repo"
}
}
developers {
developer {
id "Florent37"
name 'Florent Champigny'
organization 'Florent37'
organizationUrl 'http://github.com/florent37'
}
}
scm {
url "https://github.com/florent37/Multiplatform-LiveData"
}
}
def withPom = { pom ->
pom.withXml {
def root = asNode()
root.appendNode('name', project.name)
root.appendNode('description', github_description)
root.appendNode('url', "https://github.com/florent37/Multiplatform_Livedata")
root.children().last() + pomConfig
}
}
ext.withPom = withPom