Gradle Enhancement Plugin causes recompile

Upgrading from version 4.x (not too sure, can find out if super important) to version 5.2.17. With this, I have migrated from an Ant Task definition in gradle that ran the InstrumentTask class (deprecated now), to the hibernate orm plugin for gradle. I set up the plugin to run the enhancement as stated in the documentation. Previously with the ant task, my project would only recompile the changed file, not the whole project. Now, the whole project gets recompiled, which takes several minutes, and isnt ideal for fellow programmers.

If anyone has any direction it will be greatly appreciated, and if you need more clarification on the problem I can give some. I’ve searched around for several hours without any success on the internet.


Better create a Jira issue for it and describe the previous way of working. Thanks.