Added the java library project to all the modules which needs it.

Signed-off-by: Kavith Thiranga Lokuhewage <rc404mekt@gmail.com>