mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-24 09:56:32 +07:00
fix assetsJar (#8641)
This commit is contained in:
parent
4f34a9235c
commit
c2d7e2eb72
@ -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"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user