Skip to content

Instantly share code, notes, and snippets.

@ibrahimsn98
Last active November 5, 2020 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ibrahimsn98/ebd08f4660cc09a0b37d535673f3fb5f to your computer and use it in GitHub Desktop.
Save ibrahimsn98/ebd08f4660cc09a0b37d535673f3fb5f to your computer and use it in GitHub Desktop.
allprojects {
repositories {
google()
jcenter()
...
maven {
url "https://gitlab.com/api/v4/projects/projectid/packages/maven"
name "GitLab"
credentials(HttpHeaderCredentials) {
name = 'Private-Token'
value = Config.gitLabAccessToken
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment