
However, IntelliJ IDEA native builder might not correctly build the Gradle or Maven project if its build script file uses custom plugins or tasks. If you have a pure Java or a Kotlin project we recommend that you use IntelliJ IDEA to build your project since IntelliJ IDEA supports the incremental build which significantly speeds up the building process. You can compile a single file, use the incremental build for a module or a project, and rebuild a project from scratch. IntelliJ IDEA uses a compiler that works according to the Java specification.

The IntelliJ IDEA compilation and building process compiles source files and brings together external libraries, properties files, and configurations to produce a living application.

Compile and build applications with IntelliJ IDEA
