How to configure default gradle wrapper version to...
# gradle
g
How to configure default gradle wrapper version to be used by Intellij, when creating new gradle project? (Currently it is using 6.1.1 and downloading it, although I have the latest version 6.3 on my machine)
d
just run
gradle wrapper --gradle-version 6.3
g
yes, but that is annoying as it downloads a version which is not compatible with my Java version, and I have to configure all these
Wish there is an easy way to let intellij use my local gradle distribution
d
🤷 maybe there is some global preference setting
a
Yes, this is annoying. You can specify the location of the gradle distribution in settings->Build,Execution,Deployment->Gradle->Use Gradle from to be you locally-installed distribution, but then it won't keep pace with any changes made in the gradle wrapper.
g
You also can use
gradle init
task to create a new gradle project, it provides a few basic templates and allows to choose between groovy and kotlin for configs https://docs.gradle.org/current/userguide/build_init_plugin.html