mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-10-01 09:40:35 +13:00
50 lines
No EOL
1.5 KiB
Groovy
50 lines
No EOL
1.5 KiB
Groovy
java {
|
|
withJavadocJar()
|
|
withSourcesJar()
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
mavenJava(MavenPublication) {
|
|
from components.java
|
|
|
|
pom {
|
|
name = 'XPipe'
|
|
description = 'XPipe library.'
|
|
url = 'https://github.com/xpipe-io/xpipe_java'
|
|
licenses {
|
|
license {
|
|
name = 'The MIT License (MIT)'
|
|
url = 'https://github.com/xpipe-io/xpipe_java/LICENSE'
|
|
}
|
|
}
|
|
developers {
|
|
developer {
|
|
id = 'crschnick'
|
|
name = 'Christopher Schnick'
|
|
email = 'crschnick@xpipe.io'
|
|
}
|
|
}
|
|
scm {
|
|
connection = 'scm:git:git://github.com/xpipe-io/xpipe_java.git'
|
|
developerConnection = 'scm:git:ssh://github.com/xpipe-io/xpipe_java.git'
|
|
url = 'https://github.com/xpipe-io/xpipe_java'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
url "https://oss.sonatype.org/service/local/staging/deploy/maven2"
|
|
credentials {
|
|
setUsername "${project.hasProperty('sonatypeUsername') ? project.property('sonatypeUsername') : ''}"
|
|
setPassword "${project.hasProperty('sonatypePassword') ? project.property('sonatypePassword') : ''}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
signing {
|
|
sign publishing.publications.mavenJava
|
|
} |