Compare commits

...

3 Commits

Author SHA1 Message Date
1dbca0f290 添加 Gradle 编译调试信息。 2026-05-04 20:16:25 +08:00
14d0227158 编译输出信息调整 2026-05-04 19:57:39 +08:00
3fcdbabcc9 改进APK应用包输出资源配置。 2026-05-04 19:38:52 +08:00
3 changed files with 15 additions and 5 deletions

View File

@@ -101,12 +101,15 @@ android {
// 创建 WinBoLL Studio 发布接口文件夹
File fWinBoLLStudioDir = file("/sdcard/WinBoLLStudio/APKs");
// 如果配置了APK接口文件夹路径就设置应用APK输出文件夹为接口文件夹。
if(winbollProps != null && winbollProps['APKOutputPath'] != null ) {
fWinBoLLStudioDir = file(winbollProps['APKOutputPath']);
}
if(!fWinBoLLStudioDir.exists()) {
//fWinBoLLStudioDir.mkdirs();
// 如果没有发布接口文件就不用进行APK发布和源码管理操作
// 当前编译环境不是 WinBoLL 主机, 以下将忽略APK发布和源码管理操作。
println 'The current compilation environment is not in WinBoLL host, and the following APK publishing and source management operations will be ignore.'
} else {
println "[ WinBoLLStudio ] : " + fWinBoLLStudioDir.getAbsolutePath() + " Folder does not exist."
println '[ WinBoLLStudio ] : The APKOutputPath property is not defined in winboll.properties, please configure APK output folder first.'
} else {
/// WINBOLL 主机的 APK 发布和源码管理操作 ///
variant.getAssembleProvider().get().doFirst {
/* 后期管理预留代码 */

View File

@@ -44,7 +44,9 @@ WinBoLL 手机源码计划,旨在通过核心项目 WinBoLL 构建手机端与
### 1. WinBoLL APP 开发环境配置介绍
#### WinBoLL APK 编译输出内容包括:
☆ "/sdcard/WinBoLLStudio/APKs"` 目录内的所有应用分支的 APK 文件。
winboll.properties 文件的 APKOutputPath 属性可配置这个 APK 输出目录的路径。
☆ "/sdcard/AppProjects/app.apk"文件。
winboll.properties 文件的 ExtraAPKOutputPath 属性可配置这个 APK 额外输出文件的路径
#### WinBoLL APK 源码命名空间规范
☆ WinBoLL 项目使用 "cc.winboll.studio" 作为源码命名空间。在此命名空间下进行源码定义。

View File

@@ -3,8 +3,13 @@
## library project to WinBoLL Nexus Maven Repository.
##
## WinBoLL Extra APK file Output Path
#APKOutputPath=/sdcard/WinBoLLStudio/APKs
#APKOutputPath=/sdcard/WinBoLLStudio/APKs2
## WinBoLL Extra APK file Output Path
#ExtraAPKOutputPath=/sdcard/AppProjects/app.apk
#ExtraAPKOutputPath=/sdcard/AppProjects/app2.apk
## WinBoLL Nexus UserName
#Nexus.name=nexustestuser1