• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1apply plugin: 'com.android.application'
2apply plugin: 'kotlin-android'
3apply plugin: 'kotlin-android-extensions'
4android {
5    compileSdkVersion 29
6    buildToolsVersion "29.0.1"
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 Oboe sample apps on Google Play is Phil Burk, who
13        // publishes using the application Id prefix of "com.plausiblesoftware".
14        applicationId "com.plausiblesoftware.drumthumper"
15        minSdkVersion 26
16        targetSdkVersion 29
17        versionCode 1
18        versionName "1.0"
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 "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
40    implementation 'androidx.appcompat:appcompat:1.0.2'
41    implementation 'androidx.core:core-ktx:1.0.2'
42}
43