Fix Deprecated mehod: toURL() in java.io.File
Update sbt publish setting