Adding gradle after project creation


Is there any right way to add gradle after creating a project? i tried adding gradle files but it seems you can't open gradle panel if you don't create project from a gradle template


Comment actions Permalink

Just import the project from build.gradle file.

Comment actions Permalink

I have a question about this.

I've cloned a repository from GitHub that contained an IDEA project. I now want to start using gradle to build the project. To do that, I opened a terminal and went to the /src/<project> directory and ran 'gradle init'. I've opened the build.gradle file inside of IDEA, however the gradle tool window isn't opening.

Is there another approach I should be using to adding gradle to an existing IDEA project?


Please sign in to leave a comment.