From 586015c2edaae4a37fae0ad17d114ee5b68c02ab Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sun, 29 Jan 2017 10:27:06 +0800 Subject: [PATCH] Fix ButterKnife issue https://code.google.com/p/android/issues/detail?id=231597 --- app/build.gradle | 5 +---- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 773866914..867158573 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,6 +12,7 @@ android { versionName "3.1" jackOptions { enabled true + jackInProcess true } ndk { moduleName 'zipadjust' @@ -19,10 +20,6 @@ android { } } - compileOptions { - incremental true - } - buildTypes { release { minifyEnabled true diff --git a/build.gradle b/build.gradle index cfc177153..2360186a4 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:2.2.3' + classpath 'com.android.tools.build:gradle:2.3.0-beta3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 38f9c02c2..a97a6b5e7 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip