• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1apply plugin: 'com.android.application'
2
3android {
4    compileSdkVersion 28
5
6    defaultConfig {
7        applicationId 'com.google.oboe.samples.hellooboe'
8        minSdkVersion 16
9        targetSdkVersion 28
10        versionCode 1
11        versionName '1.0'
12        externalNativeBuild {
13            cmake {
14                cppFlags "-std=c++14"
15                arguments '-DANDROID_STL=c++_static'
16                // armeabi and mips are deprecated in NDK r16 so we don't want to build for them
17                abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
18            }
19        }
20    }
21    buildTypes {
22        release {
23            minifyEnabled false
24            proguardFiles getDefaultProguardFile('proguard-android.txt'),
25                          'proguard-rules.pro'
26        }
27    }
28    externalNativeBuild {
29        cmake {
30            path 'src/main/cpp/CMakeLists.txt'
31        }
32    }
33}
34
35dependencies {
36    implementation fileTree(include: ['*.jar'], dir: 'libs')
37    implementation project(':audio-device')
38    implementation 'androidx.appcompat:appcompat:1.0.0-rc02'
39    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
40}
41