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