Explorar o código

Enable Java 8 language feature support

Eugene %!s(int64=5) %!d(string=hai) anos
pai
achega
c349fb0e37
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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 {