Intellij supports Ant projects through the built-in Ant plugin, which is enabled by default in the IDE. To check if this is turned on, go to Settings > Plugins > Ant
After you enable the plugin, you can use build.xml from View > Tool Windows > Ant Build
Then you should have the (+) option to import your build.xml file.
hitz source share