2017-12-04 14:21:55 +08:00
|
|
|
apply plugin: 'com.android.application'
|
2016-08-06 00:58:05 +08:00
|
|
|
|
2017-12-04 14:21:55 +08:00
|
|
|
android {
|
2018-03-26 03:52:12 +08:00
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
2017-12-04 14:21:55 +08:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.topjohnwu.magisk"
|
|
|
|
minSdkVersion 21
|
2018-03-26 03:52:12 +08:00
|
|
|
targetSdkVersion rootProject.ext.compileSdkVersion
|
2018-03-28 15:23:03 +08:00
|
|
|
versionCode 112
|
|
|
|
versionName "5.6.4"
|
2017-12-04 14:21:55 +08:00
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
argument('butterknife.debuggable', 'false')
|
|
|
|
}
|
|
|
|
}
|
2016-08-06 00:58:05 +08:00
|
|
|
}
|
|
|
|
|
2017-12-04 14:21:55 +08:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
2018-03-28 02:23:50 +08:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
2017-12-04 14:21:55 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
dexOptions {
|
|
|
|
preDexLibraries true
|
|
|
|
javaMaxHeapSize "2g"
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2018-01-27 08:34:12 +08:00
|
|
|
implementation project(':utils')
|
2018-02-22 01:08:53 +08:00
|
|
|
implementation 'com.github.topjohnwu:libsu:1.1.1'
|
2018-03-26 03:52:12 +08:00
|
|
|
implementation "com.android.support:recyclerview-v7:${rootProject.ext.supportLibVersion}"
|
|
|
|
implementation "com.android.support:cardview-v7:${rootProject.ext.supportLibVersion}"
|
|
|
|
implementation "com.android.support:design:${rootProject.ext.supportLibVersion}"
|
|
|
|
implementation "com.android.support:support-v4:${rootProject.ext.supportLibVersion}"
|
2017-12-04 14:21:55 +08:00
|
|
|
implementation 'com.jakewharton:butterknife:8.8.1'
|
|
|
|
implementation 'com.atlassian.commonmark:commonmark:0.10.0'
|
|
|
|
implementation 'org.kamranzafar:jtar:2.3'
|
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
2016-08-06 00:58:05 +08:00
|
|
|
}
|