mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
1,006 B
1,006 B
🛠️ Building from source
This page will guide you through building ReVanced Manager from source.
-
Download Java SDK 17 (Azul JDK or OpenJDK) and add it to path
-
Clone the repository
git clone https://github.com/revanced/revanced-manager.git && cd revanced-manager
-
Create a GitHub personal access token with the
read:packages
scope here -
Add your GitHub username and the token to
~/.gradle/gradle.properties
gpr.user = YourUsername gpr.key = ghp_longrandomkey
-
Set the
sdk.dir
property inlocal.properties
to your Android SDK locationsdk.dir = /path/to/android/sdk
-
Build the APK
Debug:
./gradlew assembleDebug
Release:
./gradlew assembleRelease -Psign