Browse Source

Enable Java 8 language feature support

Eugene 5 năm trước cách đây
mục cha
commit
c349fb0e37
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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 {