title: Play Framework: split routes in multiple files without sub projects
body: <p>My play project is massive and the routes file is approx 1Mb. Now, when scala compiles, I have the exception "Method code too large" because of the routing and the reverse routing scala files created from my routes file(that are big too).</p>
  
  <p>So, I need to split my routes file without subprojects. Indeed, I can't split my project into subprojects because its components are interdependent.</p>
  
  <p>I tried 2 methods:</p>
  
  <ul>
  <li><p>I added a new conf file called technical.routes, add some routes inside, remove the same routes from "routes", and import the file with "-> technical.Routes"
  Everything compiles, I don't have my previous exception, but something is wrong because when it stops compiling, it starts over and over... and never ends.</p></li>
  <li><p>I added a new conf file called technical.routes, add some routes inside, remove the same routes from "routes", but instead of importing it in my main routes file, I added it in the conf file: "application.router="routes, technical.routes"".
  But it's not working because only one route must be declared here.</p></li>
  </ul>
  
  <p>How to do, please?</p>