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