Add repository tag as android studio dependency

Is it possible to add an existing private/public repository tag, as an android studio dependency and use it in gradle like this:

dependencies {
compile ‘com.gitlab.::’
}

Thanks.