allow catkin_make to compile empty gradle packages, also dynamically add tasks for both library and app projects.