49 lines
969 B
Groovy
49 lines
969 B
Groovy
plugins {
|
|||
|
|
id 'com.android.application'
|
||
|
|
}
|
||
|
|
|
||
|
|
android {
|
||
|
|
namespace 'com.voicecraft.xposed'
|
||
|
|
compileSdk 35
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
applicationId 'com.voicecraft.xposed'
|
||
|
|
minSdk 24
|
||
|
|
targetSdk 34
|
||
|
|
versionCode 1
|
||
|
|
versionName '0.1.0-m1'
|
||
|
|
|
||
|
|
ndk {
|
||
|
|
abiFilters 'arm64-v8a'
|
||
|
|
}
|
||
|
|
externalNativeBuild {
|
||
|
|
cmake {
|
||
|
|
cppFlags '-O2'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
buildTypes {
|
||
|
|
release {
|
||
|
|
minifyEnabled false
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility JavaVersion.VERSION_17
|
||
|
|
targetCompatibility JavaVersion.VERSION_17
|
||
|
|
}
|
||
|
|
|
||
|
|
externalNativeBuild {
|
||
|
|
cmake {
|
||
|
|
path file('src/main/cpp/CMakeLists.txt')
|
||
|
|
version '3.22.1'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
// Xposed API 82(经典版,LSPosed 完全兼容)——仅编译期,运行时由框架提供
|
||
|
|
compileOnly 'de.robv.android.xposed:api:82'
|
||
|
|
}
|