[sample][libcurl] customized pom file, published in each auxilary publication
This commit is contained in:
@@ -13,6 +13,13 @@ konanArtifacts {
|
|||||||
target('macbook') {
|
target('macbook') {
|
||||||
includeDirs.headerFilterOnly '/opt/local/include', '/usr/local/include'
|
includeDirs.headerFilterOnly '/opt/local/include', '/usr/local/include'
|
||||||
}
|
}
|
||||||
|
pom {
|
||||||
|
withXml {
|
||||||
|
def root = asNode()
|
||||||
|
root.appendNode('name', 'libcurl interop library')
|
||||||
|
root.appendNode('description', 'A library providing interoperability with host libcurl')
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -21,11 +28,6 @@ def localMavenRepo="file://${new File(System.properties['user.home'] as String)}
|
|||||||
publishing {
|
publishing {
|
||||||
publications{
|
publications{
|
||||||
libcurl(MavenPublication) {
|
libcurl(MavenPublication) {
|
||||||
pom.withXml {
|
|
||||||
def root = asNode()
|
|
||||||
root.appendNode('name', 'libcurl interop library')
|
|
||||||
root.appendNode('description', 'A library providing interoperability with host libcurl')
|
|
||||||
}
|
|
||||||
artifact sourceJar{
|
artifact sourceJar{
|
||||||
classifier "source"
|
classifier "source"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user