revanced-manager/docs/4_building.md

1.1 KiB

🛠️ Build from source

This page will guide you through building ReVanced Manager from source.

  1. Install Java Development Kit 17 (e.g. Temurin JDK)

    Using WinGet: sh winget install EclipseAdoptium.Temurin.17.JDK

    Using SDKMAN!:

    sdk install java 17.0.15-tem
    
  2. Clone the repository

    git clone https://github.com/revanced/revanced-manager.git && cd revanced-manager
    
  3. Build the APK

    ./gradlew assembleRelease
    

Note

If the build fails due to authentication, you may need to authenticate to GitHub Packages. Create a personal access tokens with the scope read:packages here and add your token to ~/.gradle/gradle.properties. Create the file if it does not exist.

Example gradle.properties file:

gpr.user = <GitHub username>
gpr.key = <Personal access token>