2016-08-05 16:58:05 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2016-12-11 12:38:15 +00:00
|
|
|
compileSdkVersion 25
|
2016-12-23 15:05:41 +00:00
|
|
|
buildToolsVersion "25.0.2"
|
2016-08-05 16:58:05 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.topjohnwu.magisk"
|
|
|
|
minSdkVersion 21
|
2016-12-11 12:38:15 +00:00
|
|
|
targetSdkVersion 25
|
2017-01-02 17:58:21 +00:00
|
|
|
versionCode 11
|
2016-12-29 21:42:03 +00:00
|
|
|
versionName "3.0"
|
2016-08-27 11:02:41 +00:00
|
|
|
jackOptions {
|
|
|
|
enabled true
|
|
|
|
}
|
2016-11-23 05:46:52 +00:00
|
|
|
ndk {
|
|
|
|
moduleName 'zipadjust'
|
2016-11-29 05:24:48 +00:00
|
|
|
abiFilters 'x86', 'x86_64', 'armeabi', 'arm64-v8a'
|
2016-11-23 05:46:52 +00:00
|
|
|
}
|
2016-08-05 16:58:05 +00:00
|
|
|
}
|
2016-09-10 04:40:57 +00:00
|
|
|
|
2016-12-11 12:38:15 +00:00
|
|
|
compileOptions {
|
|
|
|
incremental false
|
|
|
|
}
|
|
|
|
|
2016-08-05 16:58:05 +00:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2016-12-11 12:38:15 +00:00
|
|
|
minifyEnabled 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 {
|
|
|
|
preDexLibraries = false
|
|
|
|
}
|
2016-11-23 05:46:52 +00:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path 'CMakeLists.txt'
|
|
|
|
}
|
|
|
|
}
|
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" }
|
2016-09-10 04:40:57 +00:00
|
|
|
}
|
2016-08-05 16:58:05 +00:00
|
|
|
|
|
|
|
dependencies {
|
2016-08-21 13:29:42 +00:00
|
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
2016-12-23 15:05:41 +00:00
|
|
|
compile 'com.android.support:recyclerview-v7:25.1.0'
|
|
|
|
compile 'com.android.support:cardview-v7:25.1.0'
|
|
|
|
compile 'com.android.support:design:25.1.0'
|
2016-08-27 11:02:41 +00:00
|
|
|
compile 'com.jakewharton:butterknife:8.4.0'
|
2016-10-31 03:14:10 +00:00
|
|
|
compile 'com.google.code.gson:gson:2.8.0'
|
2016-11-09 16:21:25 +00:00
|
|
|
compile 'com.github.clans:fab:1.6.4'
|
2016-11-22 05:45:26 +00:00
|
|
|
compile 'com.madgag.spongycastle:core:1.54.0.0'
|
|
|
|
compile 'com.madgag.spongycastle:prov:1.54.0.0'
|
|
|
|
compile 'com.madgag.spongycastle:pkix:1.54.0.0'
|
|
|
|
compile 'com.madgag.spongycastle:pg:1.54.0.0'
|
2017-01-02 17:58:21 +00:00
|
|
|
compile 'com.google.android.gms:play-services-safetynet:9.0.1'
|
2016-08-27 11:02:41 +00:00
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
|
2016-08-05 16:58:05 +00:00
|
|
|
}
|