'How to open a project made with gradle 2.7 in intellij?

I need to open a gradle project, but IntelliJ doesn't support gradle versions below 3 (this one is in 2.7). I tried clicking the upgrade gradle version and reimport project link in the console, but that didn't work. I then tried to switch the boot JDK to java 8, but it says i can't go below 11. I have seen other people post in having the same problem in the same project, so I'm confident that switching the boot JDK will work. How do I do that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source