mirror of https://github.com/NekoX-Dev/NekoX.git
32 lines
640 B
Groovy
32 lines
640 B
Groovy
|
plugins {
|
||
|
id 'com.android.library'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 29
|
||
|
buildToolsVersion "29.0.3"
|
||
|
ndkVersion "21.0.6113669"
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion 16
|
||
|
targetSdkVersion 29
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
|
||
|
externalNativeBuild {
|
||
|
ndkBuild {
|
||
|
|
||
|
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
||
|
arguments "NDK_APPLICATION_MK:=src/main/jni/Application.mk", "APP_PLATFORM:=android-21", "--jobs=8"
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
externalNativeBuild {
|
||
|
ndkBuild {
|
||
|
path 'src/main/jni/Android.mk'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|