I'm wondering how I can add gradle to a project?
I added the relevant files (gradlew.bat, wrapper files, build.gradle, ...). But how do I link that gradle build to IDEA? Documentation only says "When a project is created by importing from Gradle model, this link is established automatically." But this is not my case: I already got an IDEA project and now would just like to switch over to Gradle. Reading on, it suggests that I could create the link through the Gradle tool window which is disabled because the project is not linked to a Gradle project.
I find those explanations extremely confusing. So, what's the way to go?