mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 10:35:26 +00:00
61 lines
1.7 KiB
Groovy
61 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 24
|
|
buildToolsVersion "24.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "com.topjohnwu.magisk"
|
|
minSdkVersion 21
|
|
targetSdkVersion 24
|
|
versionCode 7
|
|
versionName "2.5"
|
|
jackOptions {
|
|
enabled true
|
|
}
|
|
ndk {
|
|
moduleName 'zipadjust'
|
|
// abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a'
|
|
abiFilters 'x86', 'x86_64', 'armeabi'
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
dexOptions {
|
|
preDexLibraries = false
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path 'CMakeLists.txt'
|
|
}
|
|
}
|
|
}
|
|
repositories {
|
|
jcenter()
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
compile 'com.android.support:recyclerview-v7:24.2.1'
|
|
compile 'com.android.support:cardview-v7:24.2.1'
|
|
compile 'com.android.support:design:24.2.1'
|
|
compile 'com.jakewharton:butterknife:8.4.0'
|
|
compile 'com.github.michalis-vitos:aFileChooser:master'
|
|
compile 'com.google.code.gson:gson:2.8.0'
|
|
compile 'com.github.clans:fab:1.6.4'
|
|
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'
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
|
|
}
|