2017-12-04 07:21:55 +01:00
|
|
|
apply plugin: 'com.android.application'
|
2016-08-05 18:58:05 +02:00
|
|
|
|
2017-12-04 07:21:55 +01:00
|
|
|
android {
|
|
|
|
compileSdkVersion 27
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.topjohnwu.magisk"
|
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 27
|
2018-03-18 05:19:15 +01:00
|
|
|
versionCode 110
|
|
|
|
versionName "5.6.3"
|
2017-12-04 07:21:55 +01:00
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
argument('butterknife.debuggable', 'false')
|
|
|
|
}
|
|
|
|
}
|
2016-08-05 18:58:05 +02:00
|
|
|
}
|
|
|
|
|
2017-12-04 07:21:55 +01:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
dexOptions {
|
|
|
|
preDexLibraries true
|
|
|
|
javaMaxHeapSize "2g"
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
google()
|
|
|
|
maven { url "https://jitpack.io" }
|
2016-08-05 18:58:05 +02:00
|
|
|
}
|
|
|
|
|
2017-12-04 07:21:55 +01:00
|
|
|
dependencies {
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2018-01-27 01:34:12 +01:00
|
|
|
implementation project(':utils')
|
2018-02-21 18:08:53 +01:00
|
|
|
implementation 'com.github.topjohnwu:libsu:1.1.1'
|
2018-03-17 18:04:48 +01:00
|
|
|
implementation 'com.android.support:recyclerview-v7:27.1.0'
|
|
|
|
implementation 'com.android.support:cardview-v7:27.1.0'
|
|
|
|
implementation 'com.android.support:design:27.1.0'
|
|
|
|
implementation 'com.android.support:support-v4:27.1.0'
|
2017-12-04 07:21:55 +01: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-05 18:58:05 +02:00
|
|
|
}
|