Skip to content

Commit

Permalink
chore: remove github packages repository WPB-5028 (#2143)
Browse files Browse the repository at this point in the history
  • Loading branch information
typfel authored Oct 18, 2023
1 parent 8f461bc commit b0f3e9a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
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

0 comments on commit b0f3e9a

Please sign in to comment.