1apply plugin: 'com.android.application' 2apply plugin: 'kotlin-android' 3 4android { 5 defaultConfig { 6 applicationId "com.google.oboe.samples.soundboard" 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 debug { 37 debuggable true 38 } 39 } 40 compileOptions { 41 sourceCompatibility JavaVersion.VERSION_18 42 targetCompatibility JavaVersion.VERSION_18 43 } 44 kotlinOptions { 45 jvmTarget = '18' 46 } 47 externalNativeBuild { 48 cmake { 49 path "src/main/cpp/CMakeLists.txt" 50 } 51 } 52 namespace 'com.google.oboe.samples.soundboard' 53} 54 55dependencies { 56 implementation fileTree(dir: 'libs', include: ['*.jar']) 57 implementation 'androidx.appcompat:appcompat:1.7.0' 58 implementation 'androidx.constraintlayout:constraintlayout:2.2.1' 59} 60