【发布时间】:2026-02-09 08:45:01
【问题描述】:
https://docs.github.com/en/packages/guides/configuring-gradle-for-use-with-github-packages 上的示例配置似乎不起作用,因为看起来 GitHub 包实际上并不接受基本身份验证。我从 https://github.com/settings/tokens 检索到来自 GitHub 的令牌,但我看不到在 Gradle 中将其用于 Bearer auth 的方法。
我问这个是为了回答它。
【问题讨论】:
标签: maven github gradle authorization token