Magisk/app/build.gradle

67 lines
1.8 KiB
Groovy
Raw Normal View History

2016-08-05 18:58:05 +02:00
apply plugin: 'com.android.application'
android {
2017-10-29 07:43:43 +01:00
compileSdkVersion 27
2017-11-14 17:38:38 +01:00
buildToolsVersion "27.0.1"
2016-08-05 18:58:05 +02:00
defaultConfig {
applicationId "com.topjohnwu.magisk"
minSdkVersion 21
2017-10-29 07:43:43 +01:00
targetSdkVersion 27
2017-11-06 16:21:05 +01:00
versionCode 58
versionName "5.4.1"
2016-11-23 06:46:52 +01:00
ndk {
moduleName 'zipadjust'
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
2016-11-23 06:46:52 +01:00
}
2017-08-12 19:50:20 +02:00
javaCompileOptions {
annotationProcessorOptions {
argument('butterknife.debuggable', 'false')
}
}
2016-08-05 18:58:05 +02:00
}
2016-08-05 18:58:05 +02:00
buildTypes {
release {
2016-12-11 13:38:15 +01:00
minifyEnabled true
2017-06-20 11:54:40 +02:00
shrinkResources 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 {
preDexLibraries true
javaMaxHeapSize "2g"
2016-11-07 14:06:18 +01:00
}
2016-11-23 06:46:52 +01:00
externalNativeBuild {
cmake {
path 'src/main/jni/CMakeLists.txt'
2016-11-23 06:46:52 +01:00
}
}
lintOptions {
disable 'MissingTranslation'
}
2016-08-05 18:58:05 +02:00
}
2017-10-29 07:43:43 +01:00
repositories {
jcenter()
2017-10-29 07:43:43 +01:00
google()
maven { url "https://jitpack.io" }
}
2016-08-05 18:58:05 +02:00
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
2017-10-29 20:45:22 +01:00
implementation project(':crypto')
implementation 'com.android.support:recyclerview-v7:27.0.0'
implementation 'com.android.support:cardview-v7:27.0.0'
implementation 'com.android.support:design:27.0.0'
implementation 'com.android.support:support-v4:27.0.0'
2017-08-12 19:50:20 +02:00
implementation 'com.jakewharton:butterknife:8.8.1'
2017-10-10 17:01:10 +02:00
implementation 'com.atlassian.commonmark:commonmark:0.10.0'
2017-09-03 11:24:05 +02:00
implementation 'org.kamranzafar:jtar:2.3'
2017-08-12 19:50:20 +02:00
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
2016-08-05 18:58:05 +02:00
}