Build Gradle from src for non x86

Hello. I need to build Gradle on Linux for an exotic processor architecture. I have OpenJDK 21. I can’t figure out how to build it. Help please.

The CONTRIBUTING.md file in the root should declare how to build Gradle itself.
If you have problems besides that, you probably have to be more concrete about what problems you have.

At the very bottom there is this:

./gradlew :distributions-full:binDistributionZip

but the binary file starts downloading, and you need to build everything from source.
image

I don’t get what you are trying to say.

but the binary file starts downloading

Of course Gradle gets downloaded, Gradle is built using Gradle, so it needs to download a previous Gradle to build a newer Gradle.

and you need to build everything from source

That’s what you said you want to do, so … ?