Преглед изворни кода

Enable Java 8 language feature support

Eugene пре 5 година
родитељ
комит
c349fb0e37
1 измењених фајлова са 8 додато и 0 уклоњено
  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 {