Commit 8c0584bb by UpcraftLP

fix indentation

parent 9101ee4e
...@@ -63,12 +63,15 @@ jar { ...@@ -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 { ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment