# Gradle generated LibGDX project does not work in NetBeans

I have to do rework of Worms (game) and I've chosen LibGDX. So, I've installed Gradle and generated a new project in LibGDX app - as they have in the documentation. But when I'm trying to load it as a project in NetBeans, it does not work. NetBeans sees it as a pure folder, not a project folder. I've also tried to manually create a project and paste there just the main that was generated and as expected, I've got errors with the imports (it does not know those imports).

What do I have to do? Thanks for any advices.