From c2d7e2eb725c8effc19e87e47ae87b1db1c99e2e Mon Sep 17 00:00:00 2001 From: WayZer Date: Sat, 27 May 2023 21:05:08 +0800 Subject: [PATCH] fix assetsJar (#8641) --- build.gradle | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 5b3103f660..84cfbefca7 100644 --- a/build.gradle +++ b/build.gradle @@ -320,11 +320,6 @@ project(":core"){ } } - artifacts{ - archives sourcesJar - archives assetsJar - } - dependencies{ compileJava.dependsOn(preGen) @@ -442,6 +437,9 @@ configure([":core", ":server"].collect{project(it)}){ publications{ maven(MavenPublication){ from components.java + if(project.name == "core"){ + artifact(tasks.named("assetsJar")) + } } } }