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