2026-01-11 08:17:29 +00:00
|
|
|
|
plugins {
|
|
|
|
|
|
id("com.android.application")
|
|
|
|
|
|
id("kotlin-android")
|
|
|
|
|
|
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
|
|
|
|
|
|
id("dev.flutter.flutter-gradle-plugin")
|
|
|
|
|
|
id("com.google.gms.google-services")
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
android {
|
2026-01-30 08:39:06 +00:00
|
|
|
|
namespace = "com.posimai.ponshu_room"
|
2026-01-11 08:17:29 +00:00
|
|
|
|
compileSdk = 36
|
|
|
|
|
|
ndkVersion = flutter.ndkVersion
|
|
|
|
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
|
|
jvmTarget = JavaVersion.VERSION_17.toString()
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
2026-01-30 08:39:06 +00:00
|
|
|
|
// Pro version package name (different from Lite version: com.posimai.ponshu_room.lite)
|
2026-01-30 11:21:27 +00:00
|
|
|
|
applicationId = "com.posimai.ponshu_room_lite"
|
2026-01-11 08:17:29 +00:00
|
|
|
|
// You can update the following values to match your application needs.
|
|
|
|
|
|
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
|
|
|
|
|
minSdk = 24
|
|
|
|
|
|
targetSdk = 34
|
|
|
|
|
|
versionCode = flutter.versionCode
|
|
|
|
|
|
versionName = flutter.versionName
|
2026-01-13 00:57:18 +00:00
|
|
|
|
ndk {
|
|
|
|
|
|
abiFilters.add("arm64-v8a")
|
|
|
|
|
|
}
|
2026-01-30 11:21:27 +00:00
|
|
|
|
// multiDexEnabled = true
|
2026-01-11 08:17:29 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
2026-01-30 11:21:27 +00:00
|
|
|
|
getByName("release") {
|
2026-01-11 08:17:29 +00:00
|
|
|
|
// TODO: Add your own signing config for the release build.
|
|
|
|
|
|
// Signing with the debug keys for now, so `flutter run --release` works.
|
|
|
|
|
|
signingConfig = signingConfigs.getByName("debug")
|
2026-01-30 11:21:27 +00:00
|
|
|
|
// Explicitly disable R8
|
|
|
|
|
|
isMinifyEnabled = false
|
|
|
|
|
|
isShrinkResources = false
|
|
|
|
|
|
// proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
2026-01-11 08:17:29 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
flutter {
|
|
|
|
|
|
source = "../.."
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2026-01-30 11:21:27 +00:00
|
|
|
|
// 日本語OCR認識のためのML Kitライブラリ(Lite版では廃止)
|
|
|
|
|
|
// implementation("com.google.mlkit:text-recognition-japanese:16.0.1")
|
2026-01-11 08:17:29 +00:00
|
|
|
|
}
|