mirror of
https://github.com/ironfox-oss/IronFox.git
synced 2026-06-11 17:54:30 -04:00
docs: add instructions to set up Gradle
This commit is contained in:
18
README.md
18
README.md
@@ -111,6 +111,24 @@ to build IronFox.
|
||||
|
||||
### Build setup
|
||||
|
||||
- Setup F-Droid's `gradle` script to be available in your `PATH` :
|
||||
|
||||
```
|
||||
mkdir -p $HOME/bin
|
||||
wget https://gitlab.com/fdroid/fdroidserver/-/raw/master/gradlew-fdroid -O "$HOME/bin/gradle"
|
||||
chmod +x "$HOME/bin/gradle"
|
||||
|
||||
export PATH=$HOME/bin:$PATH
|
||||
```
|
||||
|
||||
- Disable Gradle Daemons and configuration cache :
|
||||
|
||||
```
|
||||
mkdir -p ~/.gradle
|
||||
echo "org.gradle.daemon=false" >> ~/.gradle/gradle.properties
|
||||
echo "org.gradle.configuration-cache=false" >> ~/.gradle/gradle.properties
|
||||
```
|
||||
|
||||
- Create a new Python 3.9 virtual environment, then activate it :
|
||||
```
|
||||
python3.9 -m venv env
|
||||
|
||||
Reference in New Issue
Block a user