fix indentation

This commit is contained in:
UpcraftLP 2019-02-15 22:26:03 +01:00
parent 9101ee4ee9
commit 8c0584bbaf
2 changed files with 38 additions and 38 deletions

View File

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