From 1de849f7487ada7e78dde4d3bea481b0209776e7 Mon Sep 17 00:00:00 2001 From: TheEpicBlock <61842090+TheEpicBlock@users.noreply.github.com> Date: Fri, 10 Jul 2020 21:51:29 +0200 Subject: [PATCH] Try to do Jitpack --- build.gradle | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) 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() + } +}