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