The CompileOnSave mechanism checked via getGradleProject-method if the project is a gradle-project.
It is expected to return null and thus usGradleProject would return false.
Unfortunately, IllegalStateException is thrown in this case.
Switched to tryGetGradleProject-method that actually returns null.
The CompileOnSave mechanism checked via getGradleProject-method if the project is a gradle-project. It is expected to return null and thus usGradleProject would return false. Unfortunately, IllegalStateException is thrown in this case. Switched to tryGetGradleProject-method that actually returns null.