Magisk/app/build.gradle

64 lines
1.9 KiB
Groovy
Raw Normal View History

2016-08-05 16:58:05 +00:00
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.0"
2016-08-05 16:58:05 +00:00
defaultConfig {
applicationId "com.topjohnwu.magisk"
minSdkVersion 21
targetSdkVersion 26
2017-07-18 16:38:25 +00:00
versionCode 50
versionName "5.1.0"
2016-11-23 05:46:52 +00:00
ndk {
moduleName 'zipadjust'
abiFilters 'x86', 'armeabi-v7a'
2016-11-23 05:46:52 +00:00
}
2016-08-05 16:58:05 +00:00
}
2016-08-05 16:58:05 +00:00
buildTypes {
release {
2016-12-11 12:38:15 +00:00
minifyEnabled true
2017-06-20 09:54:40 +00:00
shrinkResources 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 true
javaMaxHeapSize "2g"
2016-11-07 13:06:18 +00:00
}
2016-11-23 05:46:52 +00:00
externalNativeBuild {
cmake {
path 'src/main/jni/CMakeLists.txt'
2016-11-23 05:46:52 +00:00
}
}
lintOptions {
disable 'MissingTranslation'
}
2016-08-05 16:58:05 +00:00
}
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
}
2016-08-05 16:58:05 +00:00
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:recyclerview-v7:26.0.0-beta2'
implementation 'com.android.support:cardview-v7:26.0.0-beta2'
implementation 'com.android.support:design:26.0.0-beta2'
implementation 'com.android.support:support-v4:26.0.0-beta2'
2017-07-13 06:47:47 +00:00
implementation 'com.jakewharton:butterknife:8.7.0'
implementation 'com.thoughtbot:expandablerecyclerview:1.4'
implementation 'us.feras.mdv:markdownview:1.1.0'
implementation 'com.madgag.spongycastle:core:1.54.0.0'
implementation 'com.madgag.spongycastle:prov:1.54.0.0'
implementation 'com.madgag.spongycastle:pkix:1.54.0.0'
implementation 'com.google.android.gms:play-services-safetynet:9.0.1'
2017-07-13 06:47:47 +00:00
annotationProcessor 'com.jakewharton:butterknife-compiler:8.7.0'
2016-08-05 16:58:05 +00:00
}