- 通过 qemu-user-static 实现 ARM64 主机编译 Android APK (51MB) - 修复 Gradle: Aliyun 镜像 + PREFER_SETTINGS + JVM 内存 1536M - 部署 APK 到 configs/downloads/, Web 下载接口已验证 (HTTP 200) - 新增 Flutter TODO.md: 10项待优化 (P0/P1/P2 分级) - 新增 pm_soul.md, 更新 routes.rs APK 下载路由 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
38 lines
772 B
Groovy
38 lines
772 B
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'dev.flutter.flutter-gradle-plugin'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.showen.flutter'
|
|
compileSdk flutter.compileSdkVersion
|
|
|
|
defaultConfig {
|
|
applicationId 'com.showen.flutter'
|
|
minSdkVersion flutter.minSdkVersion
|
|
targetSdkVersion flutter.targetSdkVersion
|
|
versionCode flutter.versionCode
|
|
versionName flutter.versionName
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
}
|
|
}
|
|
|
|
flutter {
|
|
source '../..'
|
|
}
|