Browse Source

Compile with Java 8 support for using Retrolambda

inorichi 9 years ago
parent
commit
a316298793
1 changed files with 5 additions and 0 deletions
  1. 5 0
      app/build.gradle

+ 5 - 0
app/build.gradle

@@ -16,6 +16,11 @@ android {
         versionName "1.0"
     }
 
+    compileOptions {
+        sourceCompatibility JavaVersion.VERSION_1_8
+        targetCompatibility JavaVersion.VERSION_1_8
+    }
+
     buildTypes {
         release {
             minifyEnabled false