2016-08-05 18:58:05 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2017-06-15 21:06:22 +02:00
|
|
|
compileSdkVersion 26
|
|
|
|
buildToolsVersion "26.0.0"
|
2016-08-05 18:58:05 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.topjohnwu.magisk"
|
|
|
|
minSdkVersion 21
|
2017-06-15 21:06:22 +02:00
|
|
|
targetSdkVersion 26
|
2017-06-08 16:55:48 +02:00
|
|
|
versionCode 41
|
|
|
|
versionName "5.0.1"
|
2016-11-23 06:46:52 +01:00
|
|
|
ndk {
|
|
|
|
moduleName 'zipadjust'
|
2017-05-11 21:32:42 +02:00
|
|
|
abiFilters 'x86', 'armeabi-v7a'
|
2016-11-23 06:46:52 +01:00
|
|
|
}
|
2016-08-05 18:58:05 +02:00
|
|
|
}
|
2016-09-10 06:40:57 +02:00
|
|
|
|
2016-08-05 18:58:05 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2016-12-11 13:38:15 +01:00
|
|
|
minifyEnabled true
|
2017-05-19 17:37:57 +02:00
|
|
|
shrinkResources true
|
2016-08-05 18:58:05 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2016-08-27 13:02:41 +02:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2016-11-07 14:06:18 +01:00
|
|
|
dexOptions {
|
2017-06-15 21:06:22 +02:00
|
|
|
preDexLibraries true
|
|
|
|
javaMaxHeapSize "2g"
|
2016-11-07 14:06:18 +01:00
|
|
|
}
|
2016-11-23 06:46:52 +01:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
2017-01-22 00:37:53 +01:00
|
|
|
path 'src/main/jni/CMakeLists.txt'
|
2016-11-23 06:46:52 +01:00
|
|
|
}
|
|
|
|
}
|
2017-03-31 10:04:12 +02:00
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
}
|
2016-08-05 18:58:05 +02:00
|
|
|
}
|
2016-09-10 06:40:57 +02:00
|
|
|
repositories {
|
2016-09-15 14:35:12 +02:00
|
|
|
jcenter()
|
|
|
|
maven { url "https://jitpack.io" }
|
2017-06-15 21:06:22 +02:00
|
|
|
maven { url "https://maven.google.com" }
|
2016-09-10 06:40:57 +02:00
|
|
|
}
|
2016-08-05 18:58:05 +02:00
|
|
|
|
|
|
|
dependencies {
|
2017-06-15 21:06:22 +02:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
implementation 'com.android.support:recyclerview-v7:26.0.0-beta2'
|
|
|
|
implementation 'com.android.support:cardview-v7:26.0.0-beta2'
|
|
|
|
implementation 'com.android.support:design:26.0.0-beta2'
|
|
|
|
implementation 'com.android.support:support-v4:26.0.0-beta2'
|
|
|
|
implementation 'com.jakewharton:butterknife:8.6.0'
|
|
|
|
implementation 'com.thoughtbot:expandablerecyclerview:1.4'
|
|
|
|
implementation 'us.feras.mdv:markdownview:1.1.0'
|
|
|
|
implementation 'com.madgag.spongycastle:core:1.54.0.0'
|
|
|
|
implementation 'com.madgag.spongycastle:prov:1.54.0.0'
|
|
|
|
implementation 'com.madgag.spongycastle:pkix:1.54.0.0'
|
|
|
|
implementation 'com.madgag.spongycastle:pg:1.54.0.0'
|
|
|
|
implementation 'com.google.android.gms:play-services-safetynet:9.0.1'
|
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
|
2016-08-05 18:58:05 +02:00
|
|
|
}
|