Idea ignoring gradle setup

Hello,  I'm using the latest version of Idea (139.225).

I've recently formatted my pc and although I was using the same version before, I now have the following issue :

I have an Android project with two modules based on Gradle.
I try to import the project using the import wizard and selecting the build.gradle located in the project root.
Intellij imports the project, downloads the dependencies and everything looks ok but it doesn't set test or src directories and it also ignores all the settings I have in my gradle files (language level, dependencies, etc).

These files were working great before reinstalling IDEA. Any help?

Please sign in to leave a comment.