mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-20 23:17:37 +00:00
69 lines
1.9 KiB
Groovy
69 lines
1.9 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'me.tatarka.retrolambda'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion "25.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "com.topjohnwu.magisk"
|
|
minSdkVersion 21
|
|
targetSdkVersion 25
|
|
versionCode 31
|
|
versionName "4.3.3"
|
|
ndk {
|
|
moduleName 'zipadjust'
|
|
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
dexOptions {
|
|
preDexLibraries = true
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path 'src/main/jni/CMakeLists.txt'
|
|
}
|
|
}
|
|
lintOptions {
|
|
disable 'MissingTranslation'
|
|
}
|
|
retrolambda {
|
|
javaVersion JavaVersion.VERSION_1_7
|
|
defaultMethods false
|
|
incremental true
|
|
}
|
|
}
|
|
repositories {
|
|
jcenter()
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
compile 'com.android.support:recyclerview-v7:25.3.1'
|
|
compile 'com.android.support:cardview-v7:25.3.1'
|
|
compile 'com.android.support:design:25.3.1'
|
|
compile 'com.android.support:support-v4:25.3.1'
|
|
compile 'com.jakewharton:butterknife:8.5.1'
|
|
compile 'com.thoughtbot:expandablerecyclerview:1.4'
|
|
compile 'us.feras.mdv:markdownview:1.1.0'
|
|
compile 'com.madgag.spongycastle:core:1.54.0.0'
|
|
compile 'com.madgag.spongycastle:prov:1.54.0.0'
|
|
compile 'com.madgag.spongycastle:pkix:1.54.0.0'
|
|
compile 'com.madgag.spongycastle:pg:1.54.0.0'
|
|
compile 'com.google.android.gms:play-services-safetynet:9.0.1'
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
|
|
}
|