Updated build.gradle meet minimum build requirements

These changes were required so I could build the library to provide future contributions.