1apply plugin: 'com.android.application' 2apply plugin: 'kotlin-android' 3 4android { 5 defaultConfig { 6 applicationId "com.google.oboe.samples.megadrone" 7 minSdkVersion 21 8 targetSdkVersion 35 9 compileSdkVersion 35 10 versionCode 1 11 versionName "1.0" 12 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 13 externalNativeBuild { 14 cmake { 15 cppFlags "-std=c++17" 16 abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' 17 } 18 } 19 } 20 signingConfigs { 21 release { 22 storeFile new File("${System.properties['user.home']}/.android/debug.keystore") 23 storePassword 'android' 24 storeType "jks" 25 keyAlias 'androiddebugkey' 26 keyPassword 'android' 27 } 28 } 29 buildTypes { 30 release { 31 signingConfig signingConfigs.release 32 minifyEnabled false 33 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 34 debuggable false 35 } 36 } 37 compileOptions { 38 sourceCompatibility JavaVersion.VERSION_18 39 targetCompatibility JavaVersion.VERSION_18 40 } 41 externalNativeBuild { 42 cmake { 43 path "src/main/cpp/CMakeLists.txt" 44 } 45 } 46 namespace 'com.google.oboe.samples.megadrone' 47} 48 49dependencies { 50 implementation fileTree(dir: 'libs', include: ['*.jar']) 51 implementation 'androidx.appcompat:appcompat:1.7.0' 52 implementation 'androidx.constraintlayout:constraintlayout:2.2.1' 53} 54