In our project we are using hexagonal architecture...
# announcements
s
In our project we are using hexagonal architecture with a domain module and many smaller modules that all depend on it (subproject setup in gradle). As the project has grown it seems compile times in IDEA (possibly also in gradle) slows to a crawl for 30 - 180 seconds as it seems to recompile the world constantly. Even for simple changes. Does anyone have any good approach that works better than what I have described ?
s
The first thing I could think of are the compile/implementation dependency configurations. Have you tried switching to the newer
implementation
? https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_separation
s
Yes, but why would it change anything?