Gradle
Install
brew install gradle
Usually not recommended to install gradle as a standalone executable.
Utilize .gradlew
or gradle.bat
script in the local project you're working on.
Getting Started
Commands
Cleans the whole project
gradle clean
./gradlew clean
Android project build
gradle build
./gradlew build
iOS
gradle assembleXCFramework
PATH
gradlew
Sync
One thing I liked about gradle on android IDE project was it doesn't automatically tries to sync or fetch all the dependencies on app launch / IDE project open like how SPM xcode default behavior is
Errors
Config
The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
Root of the gradle (whole project)