Screw that Jack compiler, use retrolambda
This commit is contained in:
parent
0a0ad9a184
commit
411b600e14
@ -1,4 +1,2 @@
|
|||||||
# Magisk Manager
|
# Magisk Manager
|
||||||
The project should be built with Android Studio version 2.2.0+
|
You need to install CMake and NDK to build the zipadjust library for zip preprocessing
|
||||||
I use Java 8 features, which requires Jack compiler and it's only available in 2.2.0+
|
|
||||||
Also, you need to install CMake and NDK to build the zipadjust library for zip preprocessing
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
apply plugin: 'me.tatarka.retrolambda'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 25
|
compileSdkVersion 25
|
||||||
@ -10,10 +11,6 @@ android {
|
|||||||
targetSdkVersion 25
|
targetSdkVersion 25
|
||||||
versionCode 28
|
versionCode 28
|
||||||
versionName "4.3.1"
|
versionName "4.3.1"
|
||||||
jackOptions {
|
|
||||||
enabled true
|
|
||||||
jackInProcess true
|
|
||||||
}
|
|
||||||
ndk {
|
ndk {
|
||||||
moduleName 'zipadjust'
|
moduleName 'zipadjust'
|
||||||
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
||||||
@ -38,6 +35,14 @@ android {
|
|||||||
path 'src/main/jni/CMakeLists.txt'
|
path 'src/main/jni/CMakeLists.txt'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
lintOptions {
|
||||||
|
disable 'MissingTranslation'
|
||||||
|
}
|
||||||
|
retrolambda {
|
||||||
|
javaVersion JavaVersion.VERSION_1_7
|
||||||
|
defaultMethods false
|
||||||
|
incremental true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
|
6
app/proguard-rules.pro
vendored
6
app/proguard-rules.pro
vendored
@ -22,4 +22,8 @@
|
|||||||
-keep interface android.support.v7.** { *; }
|
-keep interface android.support.v7.** { *; }
|
||||||
|
|
||||||
# SpongyCastle
|
# SpongyCastle
|
||||||
-keep class org.spongycastle.** {*;}
|
-keep class org.spongycastle.** { *; }
|
||||||
|
-dontwarn javax.naming.**
|
||||||
|
|
||||||
|
# retrolambda
|
||||||
|
-dontwarn java.lang.invoke.*
|
||||||
|
@ -7,6 +7,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.3.0'
|
classpath 'com.android.tools.build:gradle:2.3.0'
|
||||||
|
classpath 'me.tatarka:gradle-retrolambda:3.6.0'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
Loading…
Reference in New Issue
Block a user