diff --git a/build.gradle b/build.gradle index 078eabdd..94a88623 100644 --- a/build.gradle +++ b/build.gradle @@ -52,22 +52,22 @@ jar { } // configure the maven publication -//publishing { -// publications { -// mavenJava(MavenPublication) { -// // add all the jars that should be included when publishing to maven -// artifact(remapJar) { -// builtBy remapJar -// } -// artifact(sourcesJar) { -// builtBy remapSourcesJar -// } -// } -// } -// -// // select the repositories you want to publish to -// repositories { -// // uncomment to publish to the local maven -// // mavenLocal() -// } -//} +publishing { + publications { + mavenJava(MavenPublication) { + // add all the jars that should be included when publishing to maven + artifact(remapJar) { + builtBy remapJar + } + artifact(sourcesJar) { + builtBy remapSourcesJar + } + } + } + + // select the repositories you want to publish to + repositories { + // uncomment to publish to the local maven + mavenLocal() + } +}