Fixes downloading of jar files

Links to knarcraft.net updated.
Code for parsing the new minecraft vanilla json files added.
This commit is contained in:
2018-09-30 17:06:57 +02:00
parent 5ac22babab
commit a3a8e4f377
4 changed files with 59 additions and 23 deletions

View File

@ -1,6 +1,6 @@
import net.knarcraft.serverlauncher.profile.Profile;
import net.knarcraft.serverlauncher.server.ServerType;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import javax.naming.ConfigurationException;
import java.io.IOException;

View File

@ -1,12 +1,12 @@
import net.knarcraft.serverlauncher.profile.Profile;
import net.knarcraft.serverlauncher.server.ServerType;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import javax.naming.ConfigurationException;
import java.io.FileNotFoundException;
import static net.knarcraft.serverlauncher.Shared.stringBetween;
import static org.junit.Assert.assertEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class Tests {
@Test