diff --git a/.idea/ThinkgearConnector.iml b/.idea/ThinkgearConnector.iml index 6ca1761..06672f6 100644 --- a/.idea/ThinkgearConnector.iml +++ b/.idea/ThinkgearConnector.iml @@ -10,6 +10,7 @@ - + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 0a35cd6..80b3851 100644 --- a/pom.xml +++ b/pom.xml @@ -69,7 +69,13 @@ com.google.code.gson gson 2.8.0 - compile + provided + + + org.rxtx + rxtx + 2.1.7 + provided diff --git a/src/main/java/de/wolfi/thinkgearconnector/ThinkGearConnector.java b/src/main/java/de/wolfi/thinkgearconnector/ThinkGearConnector.java index b7f9b65..7a4fa1d 100644 --- a/src/main/java/de/wolfi/thinkgearconnector/ThinkGearConnector.java +++ b/src/main/java/de/wolfi/thinkgearconnector/ThinkGearConnector.java @@ -3,9 +3,7 @@ import com.google.gson.Gson; import de.wolfi.thinkgearconnector.json.*; -import javax.comm.CommPort; -import javax.comm.CommPortIdentifier; -import javax.comm.PortInUseException; +import gnu.io.*; import java.io.*; import java.net.Socket; import java.util.ArrayList;