plugins { alias(libs.plugins.android.application) } android { namespace 'com.hmwl.sample' compileSdk 35 defaultConfig { applicationId "com.hmwl.sample" minSdk 28 targetSdk 35 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { debug { debuggable true jniDebuggable true } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_21 targetCompatibility JavaVersion.VERSION_21 } buildFeatures { prefab true } externalNativeBuild { cmake { path file('src/main/cpp/CMakeLists.txt') version '3.22.1' } } } dependencies { implementation libs.appcompat implementation libs.material implementation libs.games.activity testImplementation libs.junit androidTestImplementation libs.ext.junit androidTestImplementation libs.espresso.core }