改进APK应用包输出资源配置。
This commit is contained in:
@@ -101,6 +101,11 @@ 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发布和源码管理操作
|
||||
|
||||
@@ -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" 作为源码命名空间。在此命名空间下进行源码定义。
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user