- 通过 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>
40 lines
1.3 KiB
Groovy
40 lines
1.3 KiB
Groovy
pluginManagement {
|
|
def flutterSdkPath = {
|
|
def properties = new Properties()
|
|
file('local.properties').withInputStream { properties.load(it) }
|
|
def flutterSdkPath = properties.getProperty('flutter.sdk')
|
|
assert flutterSdkPath != null, 'flutter.sdk not set in local.properties'
|
|
return flutterSdkPath
|
|
}()
|
|
|
|
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
|
|
|
|
repositories {
|
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
|
maven { url 'https://maven.aliyun.com/repository/google' }
|
|
maven { url 'https://maven.aliyun.com/repository/central' }
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'dev.flutter.flutter-plugin-loader' version '1.0.0'
|
|
id 'com.android.application' version '8.3.2' apply false
|
|
id 'org.jetbrains.kotlin.android' version '1.9.22' apply false
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
|
|
repositories {
|
|
maven { url 'https://maven.aliyun.com/repository/google' }
|
|
maven { url 'https://maven.aliyun.com/repository/central' }
|
|
maven { url 'https://storage.googleapis.com/download.flutter.io' }
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
include ':app'
|