67 lines
1.8 KiB
Groovy
67 lines
1.8 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 27
|
|
buildToolsVersion "27.0.0"
|
|
|
|
defaultConfig {
|
|
applicationId "com.topjohnwu.magisk"
|
|
minSdkVersion 21
|
|
targetSdkVersion 27
|
|
versionCode 57
|
|
versionName "5.4.0"
|
|
ndk {
|
|
moduleName 'zipadjust'
|
|
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
|
}
|
|
javaCompileOptions {
|
|
annotationProcessorOptions {
|
|
argument('butterknife.debuggable', 'false')
|
|
}
|
|
}
|
|
}
|
|
|
|
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'
|
|
}
|
|
}
|
|
lintOptions {
|
|
disable 'MissingTranslation'
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation project(':jarsigner')
|
|
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'
|
|
implementation 'com.jakewharton:butterknife:8.8.1'
|
|
implementation 'com.atlassian.commonmark:commonmark:0.10.0'
|
|
implementation 'org.kamranzafar:jtar:2.3'
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
|
}
|