-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Due to the (stupid) design of GitHub, it's not possible to use it with internal/private repos.
Cite from GitHub support:
The https://github.com/OWNER/REPO/releases/download/TAG/ASSET URL is the browser download path. For private repositories it relies on an authenticated web session, and it will commonly return 404 to non-browser clients even if you include a personal access token in an Authorization header.
To download a private release asset with curl, use the Releases REST API and request the asset as application/octet-stream.
Using the GitHub API would be challenging/impossible with an ivy repository.
Options:
- GitHub changes its design
- Gradle adds built-in support for GitHub release assets
- Gradle adds a new api to register custom repository types Create custom ArtifactRepository type gradle/gradle#27449
I would prefer the latter.
Anyway, it should be mentioned in the README.md.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels