Compare commits
3 Commits
positions-
...
1dbca0f290
| Author | SHA1 | Date | |
|---|---|---|---|
| 1dbca0f290 | |||
| 14d0227158 | |||
| 3fcdbabcc9 |
@@ -101,12 +101,15 @@ android {
|
|||||||
|
|
||||||
// 创建 WinBoLL Studio 发布接口文件夹
|
// 创建 WinBoLL Studio 发布接口文件夹
|
||||||
File fWinBoLLStudioDir = file("/sdcard/WinBoLLStudio/APKs");
|
File fWinBoLLStudioDir = file("/sdcard/WinBoLLStudio/APKs");
|
||||||
|
// 如果配置了APK接口文件夹路径,就设置应用APK输出文件夹为接口文件夹。
|
||||||
|
if(winbollProps != null && winbollProps['APKOutputPath'] != null ) {
|
||||||
|
fWinBoLLStudioDir = file(winbollProps['APKOutputPath']);
|
||||||
|
}
|
||||||
|
|
||||||
if(!fWinBoLLStudioDir.exists()) {
|
if(!fWinBoLLStudioDir.exists()) {
|
||||||
//fWinBoLLStudioDir.mkdirs();
|
println "[ WinBoLLStudio ] : " + fWinBoLLStudioDir.getAbsolutePath() + " Folder does not exist."
|
||||||
// 如果没有发布接口文件就不用进行APK发布和源码管理操作
|
println '[ WinBoLLStudio ] : The APKOutputPath property is not defined in winboll.properties, please configure APK output folder first.'
|
||||||
// 当前编译环境不是 WinBoLL 主机, 以下将忽略APK发布和源码管理操作。
|
} else {
|
||||||
println 'The current compilation environment is not in WinBoLL host, and the following APK publishing and source management operations will be ignore.'
|
|
||||||
} else {
|
|
||||||
/// WINBOLL 主机的 APK 发布和源码管理操作 ///
|
/// WINBOLL 主机的 APK 发布和源码管理操作 ///
|
||||||
variant.getAssembleProvider().get().doFirst {
|
variant.getAssembleProvider().get().doFirst {
|
||||||
/* 后期管理预留代码 */
|
/* 后期管理预留代码 */
|
||||||
|
|||||||
@@ -44,7 +44,9 @@ WinBoLL 手机源码计划,旨在通过核心项目 WinBoLL 构建手机端与
|
|||||||
### 1. WinBoLL APP 开发环境配置介绍
|
### 1. WinBoLL APP 开发环境配置介绍
|
||||||
#### WinBoLL APK 编译输出内容包括:
|
#### WinBoLL APK 编译输出内容包括:
|
||||||
☆ "/sdcard/WinBoLLStudio/APKs"` 目录内的所有应用分支的 APK 文件。
|
☆ "/sdcard/WinBoLLStudio/APKs"` 目录内的所有应用分支的 APK 文件。
|
||||||
|
winboll.properties 文件的 APKOutputPath 属性可配置这个 APK 输出目录的路径。
|
||||||
☆ "/sdcard/AppProjects/app.apk"文件。
|
☆ "/sdcard/AppProjects/app.apk"文件。
|
||||||
|
winboll.properties 文件的 ExtraAPKOutputPath 属性可配置这个 APK 额外输出文件的路径
|
||||||
#### WinBoLL APK 源码命名空间规范
|
#### WinBoLL APK 源码命名空间规范
|
||||||
☆ WinBoLL 项目使用 "cc.winboll.studio" 作为源码命名空间。在此命名空间下进行源码定义。
|
☆ WinBoLL 项目使用 "cc.winboll.studio" 作为源码命名空间。在此命名空间下进行源码定义。
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,13 @@
|
|||||||
## library project to WinBoLL Nexus Maven Repository.
|
## 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
|
## WinBoLL Extra APK file Output Path
|
||||||
#ExtraAPKOutputPath=/sdcard/AppProjects/app.apk
|
#ExtraAPKOutputPath=/sdcard/AppProjects/app.apk
|
||||||
|
#ExtraAPKOutputPath=/sdcard/AppProjects/app2.apk
|
||||||
|
|
||||||
## WinBoLL Nexus UserName
|
## WinBoLL Nexus UserName
|
||||||
#Nexus.name=nexustestuser1
|
#Nexus.name=nexustestuser1
|
||||||
|
|||||||
Reference in New Issue
Block a user