All tools/Gradle

Gradle

gradle

A highly scalable build automation tool designed to handle everything from large, multi-project enterprise builds to quick development tasks.

Detected by gradle, gradlew | macOS, Linux, Windows |gradle.org

Sync rules

What travels, what stays, what never leaves
Gradle in your home directory Every rule on this page, by file
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g
# This machine's JDK.
org.gradle.java.home=/Users/octocat/Library/Java/JavaVirtualMachines/temurin-21/Contents/Homemachine-local
# Corporate proxy on this machine's network.
systemProp.http.proxyHost=proxy.example.commachine-local
systemProp.http.proxyPort=8080
systemProp.http.proxyUser=octocat
systemProp.http.proxyPassword=FAKEproxypassword0000
systemProp.https.proxyHost=proxy.example.commachine-local
systemProp.https.proxyPort=8080
systemProp.https.proxyPassword=FAKEproxypassword1111
systemProp.gradle.wrapperPassword=FAKEwrapperpassword0000
# OpenPGP signatory held on this machine.
signing.keyId=FAKE5D73machine-local
signing.password=FAKEsigningpassword0000
signing.secretKeyRingFile=/Users/octocat/.gnupg/secring.gpgmachine-local
# Gradle Plugin Portal credentials.
gradle.publish.key=FAKEpublishkey00000000000000000000

Each machine keeps its own copy of these.

signing.passwordgradle.publish.keygradle.publish.secretsystemProp.gradle.wrapperPasswordsystemProp.http.proxyPasswordsystemProp.https.proxyPassword

Lifted into your secret store; the rest of the file syncs.

· init.gradle Sync
· init.gradle.kts Sync
· init.d/ Sync
· caches/ Exclude
· daemon/ Exclude
· jdks/ Exclude
· wrapper/ Exclude

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/gradle. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these is generated from the same rules as this page. None of them splits org.gradle.java.home and signing.keyId for you — that part is Otty’s own sync, or a template you write by hand.