upgrade to Java 8 and Jack toolchain
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Mon, 29 Aug 2016 17:08:53 +0000 (19:08 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Mon, 29 Aug 2016 17:08:53 +0000 (19:08 +0200)
app/build.gradle

index ba6424f..cb94e00 100644 (file)
@@ -18,6 +18,9 @@ android {
 
         testApplicationId "name.gumartinm.weather.information.test"
         testInstrumentationRunner "android.test.InstrumentationTestRunner"
+        jackOptions {
+            enabled true
+        }
     }
     buildTypes {
         release {
@@ -33,6 +36,10 @@ android {
             debuggable true
         }
     }
+    compileOptions {
+        sourceCompatibility JavaVersion.VERSION_1_8
+        targetCompatibility JavaVersion.VERSION_1_8
+    }
 }
 
 dependencies {