Skip to content

infsafe/gradle-eclipse-multi-channel-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gradle-eclipse-multi-channel-build

基于友盟的gradle多渠道打包工具的改进版本

专为Eclipse工程定制的多渠道多依赖项目的打包脚本

================================== 感谢友盟的多渠道打包工具: https://github.com/umeng/umeng-muti-channel-build-tool/tree/master/Gradle

我提交的版本主要修复以下问题:
1、次版本是为了适配Eclipse的多项目依赖工程的打包。
2、修复打包过程中文显示乱码问题。
3、修改apk的名字以及指定apk存放的文件夹。
4、增加签名的机制

使用方法:
1、将build.gradle和settings.gradle拷贝到目标工程下面,修改里面的路径、文件名等相关参数。
2、将lib.gradle拷贝到lib工程下面。注意:lib工程需要和root工程在同一目录,同级。如果不在同一目录清修改settings.gradle的设置

然后在目标root工程的下面运行命令:
gradle -PSTOREPASS='你的keystore密码' -PKEYPASS='你的alias密码' clean --stacktrace
gradle -PSTOREPASS='你的keystore密码' -PKEYPASS='你的alias密码' aR --stacktrace

=================================

Copyright infsafe 2014

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Gradle for Eclipse Multi-Project and Multi-Chanel build script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published