Move vesion to gradle, add full file access for opening custom KeyStore