Added getRepository method + fixed version (snapshots giving me trouble with Gradle...)