mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-28 04:25:27 +00:00
53 lines
1.7 KiB
Groovy
53 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
applicationId "com.topjohnwu.magisk"
|
|
minSdkVersion 21
|
|
targetSdkVersion rootProject.ext.compileSdkVersion
|
|
versionCode 113
|
|
versionName "5.6.4"
|
|
javaCompileOptions {
|
|
annotationProcessorOptions {
|
|
argument('butterknife.debuggable', 'false')
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
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')
|
|
implementation project(':utils')
|
|
implementation 'com.github.topjohnwu:libsu:1.1.1'
|
|
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}"
|
|
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'
|
|
}
|