Convert project to Gradle builds.
Add wrapper.
Add MeasureUtils. Clean up attributes.