Install Gradle from Source

I want to debug Gradle itself but I do not see any instructions on how to build and install from source.
I downloaded and built using ./gradlew build which seems to have worked.
How do I install the newly built gradle?

There is an install task gradle/ at master · gradle/gradle · GitHub

1 Like