1plugins { 2 id 'com.android.application' 3 id 'org.jetbrains.kotlin.android' 4} 5android { 6 compileSdkVersion 34 7 8 defaultConfig { 9 // Usually the applicationId follows the same scheme as the application package name, 10 // however, this sample will be published on the Google Play Store which will not allow an 11 // applicationId starting with "com.google" as this is reserved for official Google 12 // products. The current owner of the DrumThumper sample apps on Google Play is Paul McLean, 13 // who publishes using the application Id prefix of "com.plausiblesoftware". 14 applicationId "com.plausiblesoftware.drumthumper" 15 minSdkVersion 23 16 targetSdkVersion 34 17 versionCode 2 18 versionName "1.01" 19 20 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 21 } 22 23 buildTypes { 24 release { 25 minifyEnabled false 26 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt') 27 } 28 } 29 30 externalNativeBuild { 31 cmake { 32 path 'src/main/cpp/CMakeLists.txt' 33 } 34 } 35} 36 37dependencies { 38 implementation fileTree(dir: 'libs', include: ['*.jar']) 39 implementation "androidx.core:core-ktx:$kotlin_version" 40 implementation 'androidx.appcompat:appcompat:1.6.0-rc01' 41 def lifecycle_version = "2.5.1" 42 implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version" 43 implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" 44 implementation project(path: ':iolib') 45 implementation project(path: ':parselib') 46} 47 48