xref: /aosp_15_r20/external/oboe/samples/iolib/build.gradle (revision 05767d913155b055644481607e6fa1e35e2fe72c)
1apply plugin: 'com.android.library'
2
3android {
4    compileSdkVersion 34
5
6    defaultConfig {
7        minSdkVersion 21
8        targetSdkVersion 34
9
10        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
11        consumerProguardFiles 'consumer-rules.pro'
12    }
13
14    buildTypes {
15        release {
16            minifyEnabled false
17            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
18        }
19    }
20
21    externalNativeBuild {
22        cmake {
23            path 'src/main/cpp/CMakeLists.txt'
24        }
25    }
26}
27
28dependencies {
29    implementation fileTree(dir: 'libs', include: ['*.jar'])
30
31    implementation 'androidx.appcompat:appcompat:1.1.0'
32}
33