// file: Android/game-snake-poc/build.gradle // version: 48 plugins { id 'com.android.application' } ext.sasedevRustGameFeature = "snake" ext.sasedevRustAndroidAbis = ["arm64-v8a", "armeabi-v7a", "x86_64", "x86"] ext.sasedevRustAndroidApi = 21 def sdl3AarName = providers.gradleProperty("sdl3AarName").get() def androidNdkVersion = providers.gradleProperty("androidNdkVersion").get() android { namespace 'com.sasedev.games.snake' compileSdk 36 ndkVersion androidNdkVersion defaultConfig { applicationId 'com.sasedev.games.snake' minSdk 21 targetSdk 36 versionCode 2 versionName '0.2.0' ndk { abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64', 'x86' } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } } dependencies { implementation files("../libs/${sdl3AarName}") implementation project(':common') } ext.sasedevGameAssetDirectory = "game-snake-poc" apply from: rootProject.file("gradle/sasedev-assets.gradle") apply from: rootProject.file("gradle/sasedev-rust-android.gradle")