Update Android Gradle plugin to 4.0 and use Java 8 APIs.
- Update the Android Gradle plugin to 4.0 and update the dependencies accordingly.
- Enable support for Java 8 API desugaring.
- Use
Collection.removeIf()
instead ofIterator.remove()
to remove elements conditionally. - Use the Date/Time API introduced in Java 8 in some classes.
Edited by Isira Seneviratne