mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-18 20:33:50 +01:00
41 lines
796 B
Groovy
41 lines
796 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
ndkVersion "21.3.6528147"
|
|
|
|
compileSdkVersion 31
|
|
|
|
buildToolsVersion "31.0.0"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 18
|
|
targetSdkVersion 31
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
externalNativeBuild {
|
|
ndk {
|
|
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
path "src/main/cpp/CMakeLists.txt"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation libs.androidx.annotation
|
|
}
|