protected URLConnection openConnection(Dependency dependency) throws IOException {
        URL dependencyUrl = new URL(this.url + dependency.getMavenRepoPath());
        return dependencyUrl.openConnection();
    }
Opens a connection to the given {@code dependency}.

@param dependency the dependency to download
@return the connection
@throws IOException if unable to open a connection
common/src/main/java/me/lucko/luckperms/common/dependencies/DependencyRepository.java