[TIMOB-14978] Added a hash of the list of jar libraries to the rebuild detection. Moved the app.json generation before compiling the Java files.