1 apply plugin: 'com.android.library' 2 3 android { 4 /* 5 * Required: Android Studio 3.0.0+! 6 */ 7 compileSdkVersion 25 8 9 defaultConfig { 10 minSdkVersion 24 11 targetSdkVersion 24 12 versionCode 1 13 versionName "1.0" 14 ndk.abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' 15 externalNativeBuild { 16 cmake.arguments '-DANDROID_TOOLCHAIN=clang', 17 '-DANDROID_STL=c++_static', 18 '-DANDROID_PLATFORM=android-24' 19 } 20 } 21 externalNativeBuild { 22 cmake.path 'CMakeLists.txt' 23 } 24 buildTypes { 25 release { 26 minifyEnabled false 27 proguardFiles getDefaultProguardFile('proguard-android.txt'), 28 'proguard-rules.pro' 29 } 30 } 31 } 32 33