You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Copy APK to output path when it is not being signed ([366f400](https://github.com/ReVanced/revanced-cli/commit/366f400c5a46491f3f262c7ff4b0df1ae3721f74))
Copy file name to clipboardexpand all lines: docs/2_building.md
+11
Original file line number
Diff line number
Diff line change
@@ -23,4 +23,15 @@ To build ReVanced CLI, follow these steps:
23
23
./gradlew build
24
24
```
25
25
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
+
26
37
After the build succeeds, the built JAR file will be located at `build/libs/revanced-cli-<version>-all.jar`.
0 commit comments