Skip to content

Commit 2b41fe6

Browse files
authored
docs: Add notice about authentication
1 parent 9dd460f commit 2b41fe6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/2_building.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,15 @@ To build ReVanced CLI, follow these steps:
2323
./gradlew build
2424
```
2525

26+
> [!NOTE]
27+
> If the build fails due to authentication, you may need to authenticate to GitHub Packages.
28+
> 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.
29+
>
30+
> Example `gradle.properties` file:
31+
>
32+
> ```properties
33+
> gpr.user = user
34+
> gpr.key = key
35+
> ```
36+
2637
After the build succeeds, the built JAR file will be located at `build/libs/revanced-cli-<version>-all.jar`.

0 commit comments

Comments
 (0)