1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-11-13 07:15:28 +03:00

Revert merge

This commit is contained in:
Anuken 2019-10-21 19:32:46 -04:00
parent 4f6bd5b684
commit d2fda57f2c
2 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,10 @@ public class AssetsAnnotationProcessor extends AbstractProcessor{
if(round++ != 0) return false; //only process 1 round
try{
path = System.getProperty("corePath");
path = Paths.get(Utils.filer.createResource(StandardLocation.CLASS_OUTPUT, "no", "no")
.toUri().toURL().toString().substring(System.getProperty("os.name").contains("Windows") ? 6 : "file:".length()))
.getParent().getParent().getParent().getParent().getParent().getParent().toString();
path = path.replace("%20", " ");
processSounds("Sounds", path + "/assets/sounds", "io.anuke.arc.audio.Sound");
processSounds("Musics", path + "/assets/music", "io.anuke.arc.audio.Music");

View File

@ -201,8 +201,6 @@ project(":core"){
}
dependencies{
System.properties["corePath"] = file(".").toString()
if(System.properties["user.name"] == "anuke"){
task cleanGen{
doFirst{