docs: Add notice about authentication

This commit is contained in:
oSumAtrIX 2024-03-29 18:41:15 +01:00 committed by GitHub
parent 9dd460f056
commit 2b41fe6d0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,4 +23,15 @@ To build ReVanced CLI, follow these steps:
./gradlew build
```
> [!NOTE]
> If the build fails due to authentication, you may need to authenticate to GitHub Packages.
> Create a PAT with the scope `read:packages` [here](https://github.com/settings/tokens/new?scopes=read:packages&description=ReVanced) and add your token to ~/.gradle/gradle.properties.
>
> Example `gradle.properties` file:
>
> ```properties
> gpr.user = user
> gpr.key = key
> ```
After the build succeeds, the built JAR file will be located at `build/libs/revanced-cli-<version>-all.jar`.