Skip to content

Instantly share code, notes, and snippets.

@reactivedroid
Last active October 18, 2023 09:30
Show Gist options
  • Save reactivedroid/b4b13265a36a116625cb97d92f58e758 to your computer and use it in GitHub Desktop.
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