2016-08-05 16:58:05 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2017-06-15 19:06:22 +00:00
|
|
|
compileSdkVersion 26
|
2017-10-04 07:23:08 +00:00
|
|
|
buildToolsVersion "26.0.2"
|
2016-08-05 16:58:05 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.topjohnwu.magisk"
|
|
|
|
minSdkVersion 21
|
2017-06-15 19:06:22 +00:00
|
|
|
targetSdkVersion 26
|
2017-10-14 19:12:13 +00:00
|
|
|
versionCode 57
|
2017-10-13 20:18:14 +00:00
|
|
|
versionName "5.4.0"
|
2016-11-23 05:46:52 +00:00
|
|
|
ndk {
|
|
|
|
moduleName 'zipadjust'
|
2017-08-01 15:52:39 +00:00
|
|
|
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
2016-11-23 05:46:52 +00:00
|
|
|
}
|
2017-08-12 17:50:20 +00:00
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
argument('butterknife.debuggable', 'false')
|
|
|
|
}
|
|
|
|
}
|
2016-08-05 16:58:05 +00:00
|
|
|
}
|
2016-09-10 04:40:57 +00:00
|
|
|
|
2016-08-05 16:58:05 +00:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2016-12-11 12:38:15 +00:00
|
|
|
minifyEnabled true
|
2017-06-20 09:54:40 +00:00
|
|
|
shrinkResources true
|
2016-08-05 16:58:05 +00:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2016-08-27 11:02:41 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2016-11-07 13:06:18 +00:00
|
|
|
dexOptions {
|
2017-06-15 19:06:22 +00:00
|
|
|
preDexLibraries true
|
|
|
|
javaMaxHeapSize "2g"
|
2016-11-07 13:06:18 +00:00
|
|
|
}
|
2016-11-23 05:46:52 +00:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
2017-01-21 23:37:53 +00:00
|
|
|
path 'src/main/jni/CMakeLists.txt'
|
2016-11-23 05:46:52 +00:00
|
|
|
}
|
|
|
|
}
|
2017-03-31 08:04:12 +00:00
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
}
|
2016-08-05 16:58:05 +00:00
|
|
|
}
|
2016-09-10 04:40:57 +00:00
|
|
|
repositories {
|
2016-09-15 12:35:12 +00:00
|
|
|
jcenter()
|
|
|
|
maven { url "https://jitpack.io" }
|
2017-06-15 19:06:22 +00:00
|
|
|
maven { url "https://maven.google.com" }
|
2016-09-10 04:40:57 +00:00
|
|
|
}
|
2016-08-05 16:58:05 +00:00
|
|
|
|
|
|
|
dependencies {
|
2017-06-15 19:06:22 +00:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2017-10-07 12:48:45 +00:00
|
|
|
implementation project(':common')
|
2017-10-07 12:31:49 +00:00
|
|
|
implementation project(':jarsigner')
|
2017-09-27 19:55:53 +00:00
|
|
|
implementation 'com.android.support:recyclerview-v7:26.1.0'
|
|
|
|
implementation 'com.android.support:cardview-v7:26.1.0'
|
|
|
|
implementation 'com.android.support:design:26.1.0'
|
|
|
|
implementation 'com.android.support:support-v4:26.1.0'
|
2017-08-12 17:50:20 +00:00
|
|
|
implementation 'com.jakewharton:butterknife:8.8.1'
|
2017-10-10 15:01:10 +00:00
|
|
|
implementation 'com.atlassian.commonmark:commonmark:0.10.0'
|
2017-09-03 09:24:05 +00:00
|
|
|
implementation 'org.kamranzafar:jtar:2.3'
|
2017-08-12 17:50:20 +00:00
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
2016-08-05 16:58:05 +00:00
|
|
|
}
|