Refactored to Maven conventions. This allowed for the removal of the verbose sourceSets block in build.gradle.