1apply plugin: 'com.android.library' 2 3android { 4 compileSdkVersion 29 5 buildToolsVersion "29.0.1" 6 7 8 defaultConfig { 9 minSdkVersion 16 10 targetSdkVersion 29 11 versionCode 1 12 versionName "1.0" 13 14 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 15 } 16 17 buildTypes { 18 release { 19 minifyEnabled false 20 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt') 21 } 22 } 23 24 externalNativeBuild { 25 cmake { 26 path 'src/main/cpp/CMakeLists.txt' 27 } 28 } 29} 30 31dependencies { 32 implementation fileTree(dir: 'libs', include: ['*.jar']) 33 34 implementation 'androidx.appcompat:appcompat:1.1.0' 35} 36