publishing { publications { mavenJava(MavenPublication) { artifactId = project.archivesBaseName from components.java pom.withXml { def pomNode = asNode() pomNode.dependencies.'*'.findAll().each() { it.scope*.value = 'compile' } } pom { name = 'XPipe Java API' description = 'Contains everything necessary to interact with XPipe from Java applications.' url = 'https://github.com/xpipe-io/xpipe/api' licenses { license { name = 'The MIT License (MIT)' url = 'https://github.com/xpipe-io/xpipe/LICENSE.md' } } developers { developer { id = 'crschnick' name = 'Christopher Schnick' email = 'crschnick@xpipe.io' } } scm { connection = 'scm:git:git://github.com/xpipe-io/xpipe.git' developerConnection = 'scm:git:ssh://github.com/xpipe-io/xpipe.git' url = 'https://github.com/xpipe-io/xpipe' } } } } }