mirror of
https://github.com/RfidResearchGroup/RFIDtools.git
synced 2026-05-12 11:19:59 -07:00
42 lines
1.0 KiB
Groovy
42 lines
1.0 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
|
|
defaultConfig {
|
|
minSdkVersion 19
|
|
targetSdkVersion 33
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
String projectDirString = getRootDir().getPath().replaceAll("\\\\", "/")
|
|
arguments '-DANDROID_STL=c++_static', "-DPROJECTDIR=${projectDirString}"
|
|
abiFilters "x86", "x86_64", "armeabi-v7a", "arm64-v8a"
|
|
}
|
|
}
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
version '3.10.2'
|
|
path 'src/main/cpp/CMakeLists.txt'
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation project(':libcom')
|
|
}
|