2016-08-06 00:58:05 +08:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2017-10-29 14:43:43 +08:00
|
|
|
compileSdkVersion 27
|
2017-11-15 00:38:38 +08:00
|
|
|
buildToolsVersion "27.0.1"
|
2016-08-06 00:58:05 +08:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.topjohnwu.magisk"
|
|
|
|
minSdkVersion 21
|
2017-10-29 14:43:43 +08:00
|
|
|
targetSdkVersion 27
|
2017-11-23 23:34:46 +08:00
|
|
|
versionCode 64
|
|
|
|
versionName "5.4.3"
|
2016-11-23 13:46:52 +08:00
|
|
|
ndk {
|
|
|
|
moduleName 'zipadjust'
|
2017-08-01 23:52:39 +08:00
|
|
|
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
2016-11-23 13:46:52 +08:00
|
|
|
}
|
2017-08-13 01:50:20 +08:00
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
argument('butterknife.debuggable', 'false')
|
|
|
|
}
|
|
|
|
}
|
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
|
2017-06-20 17:54:40 +08:00
|
|
|
shrinkResources 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-06-16 03:06:22 +08:00
|
|
|
preDexLibraries true
|
|
|
|
javaMaxHeapSize "2g"
|
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'
|
|
|
|
}
|
2016-08-06 00:58:05 +08:00
|
|
|
}
|
2017-10-29 14:43:43 +08:00
|
|
|
|
2016-09-09 23:40:57 -05:00
|
|
|
repositories {
|
2016-09-15 07:35:12 -05:00
|
|
|
jcenter()
|
2017-10-29 14:43:43 +08:00
|
|
|
google()
|
2016-09-15 07:35:12 -05:00
|
|
|
maven { url "https://jitpack.io" }
|
2016-09-09 23:40:57 -05:00
|
|
|
}
|
2016-08-06 00:58:05 +08:00
|
|
|
|
|
|
|
dependencies {
|
2017-06-16 03:06:22 +08:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2017-10-30 03:45:22 +08:00
|
|
|
implementation project(':crypto')
|
2017-11-23 00:14:04 +08:00
|
|
|
implementation 'com.android.support:recyclerview-v7:27.0.1'
|
|
|
|
implementation 'com.android.support:cardview-v7:27.0.1'
|
|
|
|
implementation 'com.android.support:design:27.0.1'
|
|
|
|
implementation 'com.android.support:support-v4:27.0.1'
|
2017-08-13 01:50:20 +08:00
|
|
|
implementation 'com.jakewharton:butterknife:8.8.1'
|
2017-10-10 23:01:10 +08:00
|
|
|
implementation 'com.atlassian.commonmark:commonmark:0.10.0'
|
2017-09-03 17:24:05 +08:00
|
|
|
implementation 'org.kamranzafar:jtar:2.3'
|
2017-08-13 01:50:20 +08:00
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
2016-08-06 00:58:05 +08:00
|
|
|
}
|