Creating an empty project and add new modules of Micronaut project in intellj gradle is not working

627 views Asked by At

I am switching from spring boot to Micronaut application. but when I use the IntelliJ IDE to add modules in the empty project the Gradle build is not supported in IntelliJ 2020.2.2.

I have the project structure as below

enter image description here

enter image description here

The gradle build should appear on the right-hand side of the IDE, but it is not

enter image description here

Even on the run configuration I don't see the project

enter image description here

I can see the build.gradle file for both the project

1

There are 1 answers

3
Andrey On

Make sure you have Gradle bundled plugin enabled in Preferences | plugins. Then you can add a Gradle module via File | New | Module form Existing Sources and select build.gradle file to import from, see Import an existing module to the project.