Building Gradle from Source Offline

Is it possible to build Gradle from source code offline (absolutely no connection to the internet), and, if so, how can it be done?

Not unless all the required dependencies and wrapper have previously been downloaded and cached. This means you’ll have to build at least once with an internet connection and then you can subsequently build offline.