Magisk/build.gradle

68 lines
1.8 KiB
Groovy
Raw Normal View History

2017-12-04 07:21:55 +01:00
apply plugin: 'com.android.application'
2016-08-05 18:58:05 +02:00
2017-12-04 07:21:55 +01:00
android {
compileSdkVersion 27
2017-12-19 08:46:54 +01:00
buildToolsVersion "27.0.2"
2017-12-04 07:21:55 +01:00
defaultConfig {
applicationId "com.topjohnwu.magisk"
minSdkVersion 21
targetSdkVersion 27
2017-12-25 20:00:07 +01:00
versionCode 82
versionName "5.5.1"
2017-12-04 07:21:55 +01:00
ndk {
moduleName 'zipadjust'
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
}
javaCompileOptions {
annotationProcessorOptions {
argument('butterknife.debuggable', 'false')
}
}
2016-08-05 18:58:05 +02:00
}
2017-12-04 07:21:55 +01:00
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dexOptions {
preDexLibraries true
javaMaxHeapSize "2g"
}
externalNativeBuild {
cmake {
path 'src/main/jni/CMakeLists.txt'
}
2016-08-05 18:58:05 +02:00
}
2017-12-04 07:21:55 +01:00
lintOptions {
disable 'MissingTranslation'
}
}
repositories {
jcenter()
google()
maven { url "https://jitpack.io" }
2016-08-05 18:58:05 +02:00
}
2017-12-04 07:21:55 +01:00
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':crypto')
implementation 'com.android.support:recyclerview-v7:27.0.2'
implementation 'com.android.support:cardview-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:support-v4:27.0.2'
implementation 'com.jakewharton:butterknife:8.8.1'
implementation 'com.atlassian.commonmark:commonmark:0.10.0'
implementation 'org.kamranzafar:jtar:2.3'
implementation 'com.google.code.gson:gson:2.8.2'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
2016-08-05 18:58:05 +02:00
}