fix assetsJar (#8641)

This commit is contained in:
WayZer 2023-05-27 21:05:08 +08:00 committed by GitHub
parent 4f34a9235c
commit c2d7e2eb72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -320,11 +320,6 @@ project(":core"){
} }
} }
artifacts{
archives sourcesJar
archives assetsJar
}
dependencies{ dependencies{
compileJava.dependsOn(preGen) compileJava.dependsOn(preGen)
@ -442,6 +437,9 @@ configure([":core", ":server"].collect{project(it)}){
publications{ publications{
maven(MavenPublication){ maven(MavenPublication){
from components.java from components.java
if(project.name == "core"){
artifact(tasks.named("assetsJar"))
}
} }
} }
} }