Parcourir la source

Enable Java 8 language feature support

Eugene il y a 5 ans
Parent
commit
c349fb0e37
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8 0
      app/build.gradle

+ 8 - 0
app/build.gradle

@@ -91,6 +91,14 @@ android {
         checkReleaseBuilds false
     }
 
+    compileOptions {
+        sourceCompatibility = 1.8
+        targetCompatibility = 1.8
+    }
+
+    kotlinOptions {
+        jvmTarget = "1.8"
+    }
 }
 
 dependencies {