mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-24 18:08:31 +03:00
40 lines
796 B
Groovy
40 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
|
|
}
|