2016-08-05 18:58:05 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2016-12-11 13:38:15 +01:00
|
|
|
compileSdkVersion 25
|
2016-12-23 16:05:41 +01:00
|
|
|
buildToolsVersion "25.0.2"
|
2016-08-05 18:58:05 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.topjohnwu.magisk"
|
|
|
|
minSdkVersion 21
|
2016-12-11 13:38:15 +01:00
|
|
|
targetSdkVersion 25
|
2017-02-07 00:32:40 +01:00
|
|
|
versionCode 22
|
|
|
|
versionName "4.1"
|
2016-08-27 13:02:41 +02:00
|
|
|
jackOptions {
|
|
|
|
enabled true
|
2017-01-29 03:27:06 +01:00
|
|
|
jackInProcess true
|
2016-08-27 13:02:41 +02:00
|
|
|
}
|
2016-11-23 06:46:52 +01:00
|
|
|
ndk {
|
|
|
|
moduleName 'zipadjust'
|
2017-01-11 13:31:42 +01:00
|
|
|
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
2016-11-23 06:46:52 +01:00
|
|
|
}
|
2016-08-05 18:58:05 +02:00
|
|
|
}
|
2016-09-10 06:40:57 +02:00
|
|
|
|
2016-08-05 18:58:05 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2016-12-11 13:38:15 +01:00
|
|
|
minifyEnabled true
|
2016-08-05 18:58:05 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2016-08-27 13:02:41 +02:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2016-11-07 14:06:18 +01:00
|
|
|
dexOptions {
|
2017-01-28 15:02:33 +01:00
|
|
|
preDexLibraries = true
|
2016-11-07 14:06:18 +01:00
|
|
|
}
|
2016-11-23 06:46:52 +01:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
2017-01-22 00:37:53 +01:00
|
|
|
path 'src/main/jni/CMakeLists.txt'
|
2016-11-23 06:46:52 +01:00
|
|
|
}
|
|
|
|
}
|
2016-08-05 18:58:05 +02:00
|
|
|
}
|
2016-09-10 06:40:57 +02:00
|
|
|
repositories {
|
2016-09-15 14:35:12 +02:00
|
|
|
jcenter()
|
|
|
|
maven { url "https://jitpack.io" }
|
2016-09-10 06:40:57 +02:00
|
|
|
}
|
2016-08-05 18:58:05 +02:00
|
|
|
|
|
|
|
dependencies {
|
2016-08-21 15:29:42 +02:00
|
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
2017-01-26 20:38:53 +01:00
|
|
|
|
2017-01-30 20:39:24 +01:00
|
|
|
compile 'com.android.support:recyclerview-v7:25.1.1'
|
|
|
|
compile 'com.android.support:cardview-v7:25.1.1'
|
|
|
|
compile 'com.android.support:design:25.1.1'
|
|
|
|
compile 'com.android.support:support-v4:25.1.1'
|
|
|
|
compile 'com.android.support:support-v13:25.1.1'
|
2017-01-27 18:10:50 +01:00
|
|
|
compile 'com.jakewharton:butterknife:8.5.1'
|
2016-10-31 04:14:10 +01:00
|
|
|
compile 'com.google.code.gson:gson:2.8.0'
|
2016-11-09 17:21:25 +01:00
|
|
|
compile 'com.github.clans:fab:1.6.4'
|
2017-01-27 18:10:50 +01:00
|
|
|
compile 'com.thoughtbot:expandablerecyclerview:1.4'
|
2016-11-22 06:45:26 +01: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-25 18:13:23 +01:00
|
|
|
compile 'com.google.android.gms:play-services-safetynet:9.0.1'
|
2017-01-27 18:10:50 +01:00
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
|
2016-08-05 18:58:05 +02:00
|
|
|
}
|