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