|
|
|
@ -63,12 +63,15 @@ jar {
|
|
|
|
|
// configure the maven publication
|
|
|
|
|
publishing {
|
|
|
|
|
publications {
|
|
|
|
|
|
|
|
|
|
mavenJava(MavenPublication) {
|
|
|
|
|
// add all the jars that should be included when publishing to maven
|
|
|
|
|
artifact jar
|
|
|
|
|
artifact(jar) {
|
|
|
|
|
builtBy remapJar
|
|
|
|
|
}
|
|
|
|
|
artifact javadocJar
|
|
|
|
|
artifact sourcesJar
|
|
|
|
|
artifact(sourcesJar) {
|
|
|
|
|
builtBy remapSourcesJar
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -78,8 +81,5 @@ publishing {
|
|
|
|
|
// mavenLocal()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// make sure that jars are properly remapped before uploading
|
|
|
|
|
tasks.publish.dependsOn build
|
|
|
|
|
tasks.build.dependsOn javadocJar
|
|
|
|
|
|
|
|
|
|