Magisk/app/build.gradle

69 lines
2.0 KiB
Groovy
Raw Normal View History

2016-08-06 00:58:05 +08:00
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
2017-08-03 23:33:08 +08:00
buildToolsVersion "26.0.1"
2016-08-06 00:58:05 +08:00
defaultConfig {
applicationId "com.topjohnwu.magisk"
minSdkVersion 21
targetSdkVersion 26
2017-09-28 03:55:53 +08:00
versionCode 55
versionName "5.3.5"
2016-11-23 13:46:52 +08:00
ndk {
moduleName 'zipadjust'
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
2016-11-23 13:46:52 +08:00
}
2017-08-13 01:50:20 +08:00
javaCompileOptions {
annotationProcessorOptions {
argument('butterknife.debuggable', 'false')
}
}
2016-08-06 00:58:05 +08:00
}
2016-08-06 00:58:05 +08:00
buildTypes {
release {
2016-12-11 20:38:15 +08:00
minifyEnabled true
2017-06-20 17:54:40 +08:00
shrinkResources true
2016-08-06 00:58:05 +08:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
2016-08-27 19:02:41 +08:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2016-11-07 21:06:18 +08:00
dexOptions {
preDexLibraries true
javaMaxHeapSize "2g"
2016-11-07 21:06:18 +08:00
}
2016-11-23 13:46:52 +08:00
externalNativeBuild {
cmake {
path 'src/main/jni/CMakeLists.txt'
2016-11-23 13:46:52 +08:00
}
}
lintOptions {
disable 'MissingTranslation'
}
2016-08-06 00:58:05 +08:00
}
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
}
2016-08-06 00:58:05 +08:00
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
2017-08-22 03:01:54 +08:00
implementation project(':resource')
2017-09-28 03:55:53 +08:00
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.support:support-v4:26.1.0'
2017-08-13 01:50:20 +08:00
implementation 'com.jakewharton:butterknife:8.8.1'
2017-08-08 16:12:49 +08:00
implementation 'com.atlassian.commonmark:commonmark:0.9.0'
2017-07-21 03:56:48 +08:00
implementation 'org.bouncycastle:bcprov-jdk15on:1.57'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.57'
2017-09-03 17:24:05 +08:00
implementation 'org.kamranzafar:jtar:2.3'
implementation 'com.google.android.gms:play-services-safetynet:9.0.1'
2017-08-13 01:50:20 +08:00
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
2016-08-06 00:58:05 +08:00
}