Add support for parameters to start and update gradle to compile full jar

This commit is contained in:
2020-10-12 23:03:26 +02:00
parent f22f9a929b
commit d8af0b3d6c
19 changed files with 153 additions and 241 deletions

View File

@@ -1,6 +1,8 @@
package de.jeyp91.tippliga;
import com.google.common.io.Resources;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
@@ -13,6 +15,8 @@ import java.util.ArrayList;
public class TLWMatchesCreatorTipperPokal extends TLWMatchesCreatorBase{
Logger logger = LogManager.getLogger(TLWMatchesCreatorTipperPokal.class);
int season;
int league;
@@ -74,7 +78,7 @@ public class TLWMatchesCreatorTipperPokal extends TLWMatchesCreatorBase{
}
}
if(teamId == 0) {
System.out.println("Did not find Tipper ID for " + name);
logger.error("Did not find Tipper ID for " + name);
}
return teamId;
}