docs: Fix build command & improve clarity (#47)

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
LilithSilver 2024-07-26 18:48:11 -07:00 committed by GitHub
parent 115476cdd5
commit 78b6f326b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,19 +28,19 @@ A certain development environment is suggested to allow for streamlined developm
```bash
for project in */; do
cd "$project" && ./gradlew build
cd "$project" && ./gradlew build && cd ..
done
```
> [!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](https://github.com/settings/tokens/new?scopes=read:packages&description=ReVanced) and add your token to ~/.gradle/gradle.properties.
> Create a personal access tokens 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. Create the file if it does not exist.
>
> Example `gradle.properties` file:
>
> ```properties
> gpr.user = user
> gpr.key = key
> gpr.user = <GitHub username>
> gpr.key = <Personal access token>
> ```
## ⚙️ Setup your workspace in IntelliJ IDEA