apply plugin: 'com.android.library' apply plugin: 'com.github.dcendents.android-maven' group='com.github.pqpo' android { compileSdkVersion 29 defaultConfig { minSdkVersion 21 targetSdkVersion 29 versionCode 10 versionName "2.1.4" externalNativeBuild { cmake { cppFlags "-std=c++11 -frtti -fexceptions" abiFilters 'armeabi-v7a', "arm64-v8a" arguments "-DANDROID_TOOLCHAIN=clang", "-DANDROID_STL=c++_static" } } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } externalNativeBuild { cmake { path "CMakeLists.txt" } } lintOptions { abortOnError false } } dependencies { api fileTree(dir: 'libs', include: ['*.jar']) api 'org.tensorflow:tensorflow-lite:1.13.1' }