Screw that Jack compiler, use retrolambda

This commit is contained in:
topjohnwu
2017-03-31 16:04:12 +08:00
parent 0a0ad9a184
commit 411b600e14
4 changed files with 16 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'
android {
compileSdkVersion 25
@@ -10,10 +11,6 @@ android {
targetSdkVersion 25
versionCode 28
versionName "4.3.1"
jackOptions {
enabled true
jackInProcess true
}
ndk {
moduleName 'zipadjust'
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
@@ -38,6 +35,14 @@ android {
path 'src/main/jni/CMakeLists.txt'
}
}
lintOptions {
disable 'MissingTranslation'
}
retrolambda {
javaVersion JavaVersion.VERSION_1_7
defaultMethods false
incremental true
}
}
repositories {
jcenter()