mirror of
https://github.com/RfidResearchGroup/RFIDtools.git
synced 2026-05-12 11:19:59 -07:00
51 lines
1.1 KiB
Groovy
51 lines
1.1 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.2"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 18
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
arguments '-DANDROID_STL=c++_static'
|
|
abiFilters "x86", "x86_64", "armeabi-v7a", "arm64-v8a"
|
|
}
|
|
}
|
|
}
|
|
|
|
/*externalNativeBuild {
|
|
cmake {
|
|
version '3.10.2'
|
|
path 'src/main/cpp/CMakeLists.txt'
|
|
}
|
|
}*/
|
|
|
|
sourceSets {
|
|
main {
|
|
// let gradle pack the shared library into apk
|
|
jniLibs.srcDirs = ['src/main/jniLibs']
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation project(path: ':utils')
|
|
api project(path: ':mifaretag')
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
}
|