liufumingren 01599d1716 新增打包体系:exe/APK 一键打包与配置统一
- Windows exe:electron-builder 配置 + build:exe 一键打包
- Android APK:离线打包脚手架(命令打包,无需 Android Studio),包名/签名沿用散单项目
- 版本统一:package.json 三段版本,APK versionCode 自动推导
- 配置统一到 config/ 目录,含密钥文件 git 忽略并配套 example 模板
- env.js 接口地址改为环境变量注入,移除敏感信息
- 删除 info/basicinfo.txt(含账号/IP 数据)
- tsconfig 移除已弃用的 baseUrl
2026-09-18 20:13:41 +08:00

29 lines
899 B
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
maven {url 'https://maven.aliyun.com/repository/google'}
maven {url 'https://maven.aliyun.com/repository/gradle-plugin'}
maven {url 'https://maven.aliyun.com/repository/public'}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.7.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven {url 'https://maven.aliyun.com/repository/google'}
maven {url 'https://maven.aliyun.com/repository/gradle-plugin'}
maven {url 'https://maven.aliyun.com/repository/public'}
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}