resolve one more deprecation and take advantage of new folder types "generated sources" and "resources"