fix indentation
parent
9101ee4ee9
commit
8c0584bbaf
12
build.gradle
12
build.gradle
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue