Method too large with routes file

Hello guys,
we have a large (productive) project with a routes file with about 685 routes. If we want to add more routes we will get a runtime error from guice:$MethodTooLargeException: Method too large: router/Routes$$FastClassByGuice$$1f117daf.getIndex (Lcom/google/inject/internal/cglib/core/$Signature;)I]

Does anyone have an idea what to do?

Thx and best regards

Maybe it help when you split your routes file into multiple ones.


Well…yeah. Pretty simple. :slight_smile: Thank you very much!