unfortunately i havent found anything regarding this issue in the forums or on the internet in general.
When you create a new gradle Project in IntelliJ, it automatically downloads a gradle version 5.2.1 it seems. This is an outdated vcersion and i want IntelliJ to create the project with a specific gradle version OR the newest one ( if it is downloaded from a remote repository )
Project after creation:
The only solutions i could find are only applyable AFTER the project is already setup with the outdated gradle init.
Amongst the solutions are:
Setting a specific folder location of the gradle version i want IntelliJ to use:
which ( only AFTER restarting IntelliJ) seem to result in a new folder being created and now creating something what seems to be a " 2 gradle version" project.
but still using some configuration of the old one with a new wrapper ( i guess the gradlw.bat is being updated ? ) since it is unable to compile anymore once i do this:
Basicly applying a gradle settings change in intellij only applies to the CURRENT project.
-> But therefore it is mandatory that a project has actually been created thus being created with the outdated Gradle version.
(from JetBrains https://www.jetbrains.com/help/idea/gradle.html#gradle_version_install )
Is there a way to generally let IntelliJ use a specific Gradle version the moment it sets up the project?
Is there i file somewhere that points IntellJ to the repository that is being used when downloading a Gradle version or a local version ?
Regards from vienna