fun pom(action: Action<MavenPom>): Unit
Add additional field to the pom by using the MavenPom API
javaArtifact {
artifactId = '$artifactId'
pom {
name = "Awesome library"
description = "Make your project great again"
url = 'https://github.com/$user/$projectname'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = '$user'
name = '$fullname'
email = 'dev@eloper.com'
url = 'https://github.com/$user'
}
}
}
}