mirror of
https://github.com/allankoechke/test-slint-android-cpp.git
synced 2026-12-04 01:44:58 +00:00
36 lines
744 B
Plaintext
36 lines
744 B
Plaintext
plugins {
|
|
id("com.android.application") version "8.7.0"
|
|
}
|
|
|
|
android {
|
|
namespace = "com.example.myapplication"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
applicationId = "com.example.myapplication"
|
|
// API 26 is the minimum supported by the Slint Android backend.
|
|
minSdk = 26
|
|
targetSdk = 35
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
|
|
ndk {
|
|
// Add other ABIs as needed: "armeabi-v7a", "x86_64", "x86"
|
|
abiFilters += "arm64-v8a"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
path = file("../CMakeLists.txt")
|
|
version = "3.22.1"
|
|
}
|
|
}
|
|
}
|