Build system information


I'm building a plugin where it would be useful for me to know what build system, e.g. buck, maven, ant, gradle, etc., a project is using. How would I get this information using the open API?

Comment actions Permalink

For build systems using External System Integration API (, one can use generic com.intellij.openapi.externalSystem.ExternalSystemModulePropertyManager#getExternalSystemId.

For detecting Maven, use com.intellij.openapi.externalSystem.ExternalSystemModulePropertyManager#isMavenized.

Unfortunately, this does not apply for Ant, use com.intellij.lang.ant.config.AntConfiguration from Ant plugin instead.



Please sign in to leave a comment.