Hello Guys! Quick Question -> I would like to g...
# community-support
r
Hello Guys! Quick Question -> I would like to generate my custom gradle version. So far I found that What I need to do is clone the gradle repo from github, then switch to a version that I want to build ( i.e. git checkout tags/v7.4.2 ) and finally execute
./gradlew build
inside the folder. So here I have two questions. 1) Should I use the gradle wrapper or the gradle from my machine? 2) I tested both approaches of ‘1)’ but I am getting either not found exception error and some
Dependency Verification: verify the signatures and checksums
. So I think I am doing something wrong or these are like common error that I need to deal when whant to build locally ?
v
Should I use the gradle wrapper
Always, for every Gradle-powered build, unless it is missing the 4 Gradle wrapper files which I consider a build bug. The wrapper defines for which Gradle version a build was written for and known working properly with and auto-provisions that version if necessary and uses it. If you make sure to use the Gradle version the build expects using an installed version works just the same, but this is usually just unnecessary hassle. And especially with the Gradle build it might be hard because it often uses nightly builds.
or the gradle from my machine?
Never, unless you need to build a project with said build bug. I usually do not even have any Gradle version installed. If I need to bootstrap a new build, I use the IDE or the wrapper of another Gradle build.
thank you 1
r
Thanks for the details. I will try again then 🙂
👌 1