소스 검색

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 {