Enable Java 8 compatibility
restrictions regarding minSdk for certain functionalities have changed
@@ -64,6 +64,11 @@ android {
packagingOptions {
exclude 'META-INF/services/javax.annotation.processing.Processor'
}
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
}
dependencies {
