Skip to content

Instantly share code, notes, and snippets.

@reactivedroid
Last active October 18, 2023 09:30
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save reactivedroid/b4b13265a36a116625cb97d92f58e758 to your computer and use it in GitHub Desktop.
repositories {
...
maven {
name = "<GitHub package name>"
url = uri("https://maven.pkg.github.com/<Org name/username>/<repo_name>")
credentials {
username =
System.getenv("git_user") ?: githubProperties.getProperty("github.username")
password =
System.getenv("git_token") ?: githubProperties.getProperty("github.token")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment