Jelajahi Sumber

Temp : add lamda for non-update bulid tool version 26 app

Shan-PC\Shan 7 tahun lalu
induk
melakukan
b51d42e546
1 mengubah file dengan 6 tambahan dan 1 penghapusan
  1. 6 1
      build.gradle

+ 6 - 1
build.gradle

@@ -3,6 +3,10 @@ buildscript {
     repositories {
         mavenCentral()
     }
+
+    dependencies {
+        classpath 'me.tatarka:gradle-retrolambda:3.3.1'
+    }
 }
 
 repositories {
@@ -11,10 +15,11 @@ repositories {
 }
 
 apply plugin: 'com.android.library'
+apply plugin: 'me.tatarka.retrolambda'
 
 android {
     compileSdkVersion 25
-    buildToolsVersion rootProject.ext.buildToolsVersion
+    buildToolsVersion '25.0.0'
 
     compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_8