2016-08-06 00:58:05 +08:00
|
|
|
apply plugin: 'com.android.application'
|
2017-04-26 19:04:06 +08:00
|
|
|
apply plugin: 'me.tatarka.retrolambda'
|
2016-08-06 00:58:05 +08:00
|
|
|
|
|
|
|
android {
|
2016-12-11 20:38:15 +08:00
|
|
|
compileSdkVersion 25
|
2017-04-26 19:04:06 +08:00
|
|
|
buildToolsVersion "25.0.3"
|
2016-08-06 00:58:05 +08:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.topjohnwu.magisk"
|
|
|
|
minSdkVersion 21
|
2016-12-11 20:38:15 +08:00
|
|
|
targetSdkVersion 25
|
2017-04-26 19:04:06 +08:00
|
|
|
versionCode 31
|
|
|
|
versionName "4.3.3"
|
2016-11-23 13:46:52 +08:00
|
|
|
ndk {
|
|
|
|
moduleName 'zipadjust'
|
2017-01-11 20:31:42 +08:00
|
|
|
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
2016-11-23 13:46:52 +08:00
|
|
|
}
|
2016-08-06 00:58:05 +08:00
|
|
|
}
|
2016-09-09 23:40:57 -05:00
|
|
|
|
2016-08-06 00:58:05 +08:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2016-12-11 20:38:15 +08:00
|
|
|
minifyEnabled true
|
2016-08-06 00:58:05 +08:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2016-08-27 19:02:41 +08:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2016-11-07 21:06:18 +08:00
|
|
|
dexOptions {
|
2017-01-28 22:02:33 +08:00
|
|
|
preDexLibraries = true
|
2016-11-07 21:06:18 +08:00
|
|
|
}
|
2016-11-23 13:46:52 +08:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
2017-01-22 00:37:53 +01:00
|
|
|
path 'src/main/jni/CMakeLists.txt'
|
2016-11-23 13:46:52 +08:00
|
|
|
}
|
|
|
|
}
|
2017-03-31 16:04:12 +08:00
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
}
|
2017-04-26 19:04:06 +08:00
|
|
|
retrolambda {
|
|
|
|
javaVersion JavaVersion.VERSION_1_7
|
|
|
|
defaultMethods false
|
|
|
|
incremental true
|
|
|
|
}
|
2016-08-06 00:58:05 +08:00
|
|
|
}
|
2016-09-09 23:40:57 -05:00
|
|
|
repositories {
|
2016-09-15 07:35:12 -05:00
|
|
|
jcenter()
|
|
|
|
maven { url "https://jitpack.io" }
|
2016-09-09 23:40:57 -05:00
|
|
|
}
|
2016-08-06 00:58:05 +08:00
|
|
|
|
|
|
|
dependencies {
|
2016-08-21 15:29:42 +02:00
|
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
2017-01-27 03:38:53 +08:00
|
|
|
|
2017-03-31 06:56:37 +08:00
|
|
|
compile 'com.android.support:recyclerview-v7:25.3.1'
|
|
|
|
compile 'com.android.support:cardview-v7:25.3.1'
|
|
|
|
compile 'com.android.support:design:25.3.1'
|
|
|
|
compile 'com.android.support:support-v4:25.3.1'
|
2017-01-28 01:10:50 +08:00
|
|
|
compile 'com.jakewharton:butterknife:8.5.1'
|
|
|
|
compile 'com.thoughtbot:expandablerecyclerview:1.4'
|
2017-02-16 05:45:31 +08:00
|
|
|
compile 'us.feras.mdv:markdownview:1.1.0'
|
2016-11-22 13:45:26 +08:00
|
|
|
compile 'com.madgag.spongycastle:core:1.54.0.0'
|
|
|
|
compile 'com.madgag.spongycastle:prov:1.54.0.0'
|
|
|
|
compile 'com.madgag.spongycastle:pkix:1.54.0.0'
|
|
|
|
compile 'com.madgag.spongycastle:pg:1.54.0.0'
|
2017-01-26 01:13:23 +08:00
|
|
|
compile 'com.google.android.gms:play-services-safetynet:9.0.1'
|
2017-01-28 01:10:50 +08:00
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
|
2016-08-06 00:58:05 +08:00
|
|
|
}
|