Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 869 Bytes

2_building.md

File metadata and controls

37 lines (26 loc) · 869 Bytes

🔨️ Building

Build ReVanced CLI from source.

📝 Requirements

  • Java Development Kit 11 (Azul Zulu JRE or OpenJDK)

🏗️ Building

To build ReVanced CLI, follow these steps:

  1. Clone the repository:

    git clone [email protected]:ReVanced/revanced-cli.git
    cd revanced-cli
  2. Build the project:

     ./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 and add your token to ~/.gradle/gradle.properties.

Example gradle.properties file:

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.