From b4050c672f23e8d0dad095b717f60355ee407890 Mon Sep 17 00:00:00 2001 From: Tofpu <47629321+Tofpu@users.noreply.github.com> Date: Fri, 25 Mar 2022 20:48:30 +0200 Subject: [PATCH] fixed the jitpack build not being found --- build.gradle | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 01925d2d..416cdddc 100644 --- a/build.gradle +++ b/build.gradle @@ -1,9 +1,9 @@ plugins { id "java" + id "maven-publish" } subprojects { - apply plugin: "java" apply plugin: "maven-publish" @@ -13,6 +13,14 @@ subprojects { sourceCompatibility = 1.8 targetCompatibility = 1.8 + publishing { + publications { + mavenJava(MavenPublication) { + from components.java + } + } + } + repositories { mavenCentral() }