Skip to content

Commit

Permalink
chore(doc): prepare release 1.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
simpleton committed Dec 2, 2017
1 parent 3a351ce commit 9de0659
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
4 changes: 2 additions & 2 deletions AndResGuard-example/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ org.gradle.jvmargs=-Xmx2584M
org.gradle.parallel=true
org.gradle.daemon=true

ANDRESGUARD_VERSION=1.2.9
ANDRESGUARD_SEVENZIP_VERSION=1.2.9
ANDRESGUARD_VERSION=1.2.10
ANDRESGUARD_SEVENZIP_VERSION=1.2.10
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ Some uses of `AndResGuard` are:

`AndResGuard` is a command-line tool, it supports Windows, Linux and Mac. We suggest you to use 7zip in Linux or Mac platform for a higher compression ratio.

**Note: Signature schemeV2 will make 7zip compressing invalid.
If you really care about your APK size, please disable v2Signing in your signingConfigs**

## How to use
### With Gradle
This has been released on `Bintray`
Expand All @@ -34,7 +31,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.9'
classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.10'
}
}
Expand Down Expand Up @@ -69,7 +66,7 @@ andResGuard {
"resources.arsc"
]
sevenzip {
artifact = 'com.tencent.mm:SevenZip:1.2.9'
artifact = 'com.tencent.mm:SevenZip:1.2.10'
//path = "/usr/local/bin/7za"
}
Expand Down
6 changes: 2 additions & 4 deletions README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

原理介绍:[详见WeMobileDev公众号文章](http://mp.weixin.qq.com/s?__biz=MzAwNDY1ODY2OQ==&mid=208135658&idx=1&sn=ac9bd6b4927e9e82f9fa14e396183a8f#rd)

**注意: v2签名会使得7zip压缩失效,如果你对apk大小有极致的要求,可以在signingConfigs中关闭v2签名**

## 使用Gradle
此工具已发布在Bintray
Expand All @@ -25,15 +24,14 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.9'
classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.10'
}
}
andResGuard {
// mappingFile = file("./resource_mapping.txt")
mappingFile = null
// 当你使用v2签名的时候,7zip压缩是无法生效的。
use7zip = true
useSign = true
// 打开这个开关,会keep住所有资源的原始路径,只混淆资源的名字
Expand All @@ -60,7 +58,7 @@ andResGuard {
"resources.arsc"
]
sevenzip {
artifact = 'com.tencent.mm:SevenZip:1.2.9'
artifact = 'com.tencent.mm:SevenZip:1.2.10'
//path = "/usr/local/bin/7za"
}
Expand Down

0 comments on commit 9de0659

Please sign in to comment.