chore: add build artifacts, map assets, and routing data
This commit is contained in:
@@ -7,7 +7,8 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace = "com.intaleq.tactical_app"
|
||||
compileSdk = flutter.compileSdkVersion
|
||||
// valhalla-mobile 0.6.x is built against compileSdk 36 and requires minSdk 26.
|
||||
compileSdk = 36
|
||||
ndkVersion = flutter.ndkVersion
|
||||
|
||||
compileOptions {
|
||||
@@ -20,14 +21,17 @@ android {
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId = "com.intaleq.tactical_app"
|
||||
// You can update the following values to match your application needs.
|
||||
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
||||
minSdk = flutter.minSdkVersion
|
||||
// محرك التوجيه المحلي Valhalla (valhalla-mobile) يتطلب API 26+ كحد أدنى
|
||||
minSdk = 26
|
||||
targetSdk = flutter.targetSdkVersion
|
||||
versionCode = flutter.versionCode
|
||||
versionName = flutter.versionName
|
||||
|
||||
ndk {
|
||||
// معماريّات أجهزة الحقل المدعومة بمكتبة valhalla-mobile الأصلية
|
||||
abiFilters += listOf("arm64-v8a", "armeabi-v7a", "x86_64")
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
@@ -39,6 +43,17 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// محرك التوجيه المحلي (Valhalla C++ ملفوف بـ Kotlin) — يعمل 100% بدون إنترنت
|
||||
implementation("io.github.rallista:valhalla-mobile:0.6.1")
|
||||
// نماذج طلبات/استجابات التوجيه + منشئ الإعدادات (مطلوبة صراحةً لأن
|
||||
// valhalla-mobile تعلنها implementation فلا تظهر على مسار ترجمة التطبيق)
|
||||
implementation("io.github.rallista:valhalla-models:0.5.0")
|
||||
implementation("io.github.rallista:valhalla-models-config:0.5.0")
|
||||
// Moshi لفك/ترميز طلبات واستجابات التوجيه JSON عبر جسر MethodChannel
|
||||
implementation("com.squareup.moshi:moshi-kotlin:1.15.1")
|
||||
}
|
||||
|
||||
flutter {
|
||||
source = "../.."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user