Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove github packages repository WPB-5028 #2143

Merged
merged 2 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,6 @@

## How to build

### GitHub Packages authentication

In order to download some open source libraries published on GitHub Pacakges, a GitHub Personal Access Token is needed with `packages:read` scope.

1. You can generate one quickly [on this page](https://github.com/settings/tokens/new?description=ReadPackages&scopes=read:packages). Or, for more details, see [Creating a personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).

2. In `local.properties` add:
```
github.package_registry.user=<github_username>
github.package_registry.token=<github_token>
```

Alternatively the credentials are also read from your environment if `GITHUB_USER` and `GITHUB_TOKEN` exists.

> *Note*: See [GitHub packages docs](https://docs.github.com/en/packages/learn-github-packages/introduction-to-github-packages#authenticating-to-github-packages) for more details and.

### Dependencies

- JDK 17 (ex: openjdk-17-jdk on Ubuntu)
Expand Down
7 changes: 0 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ allprojects {
mavenLocal()
google()
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/wireapp/core-crypto")
credentials {
username = getLocalProperty("github.package_registry.user", System.getenv("GITHUB_USER"))
password = getLocalProperty("github.package_registry.token", System.getenv("GITHUB_TOKEN"))
}
}
}
}

Expand Down