12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- plugins {
- id 'com.android.library'
- }
- android {
- compileSdkVersion COMPILE_SDK_VERSION
- buildToolsVersion BUILD_TOOLS_VERSION
- defaultConfig {
- minSdkVersion MIN_SDK_VERSION
- targetSdkVersion TARGET_SDK_VERSION
- ndkVersion NDK_VERSION
- externalNativeBuild {
- cmake {
- cppFlags '-std=c++11 -frtti -fexceptions -lz'
- abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
- }
- }
- // if (COMM_LIB_DEV_ENABLE) {
- // packagingOptions {
- // exclude 'lib/arm64-v8a/libdolin-comm.so'
- // exclude 'lib/armeabi-v7a/libdolin-comm.so'
- // exclude 'lib/x86/libdolin-comm.so'
- // exclude 'lib/x86_64/libdolin-comm.so'
- // }
- // }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles 'proguard-rules.pro'
- }
- }
- buildFeatures {
- buildConfig = false
- }
- lintOptions {
- abortOnError false
- }
- repositories {
- flatDir {
- dirs 'libs'
- }
- }
- dexOptions {
- preDexLibraries = false
- }
- externalNativeBuild {
- cmake {
- path "CMakeLists.txt"
- }
- }
- }
- dependencies {
- }
- apply from: 'publish.gradle'
- apply from: 'buildJar.gradle'
|