Skip to content

Commit 5b9c8ff

Browse files
Update README.md
1 parent 4a92dcd commit 5b9c8ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
### 使用方式
13-
* 在工程根目录中的`build.gradle`文件中的 `buildscript.dependencies`中添加`compile 'com.wanjian.plugin:tinypng:0.0.2'` 例如:
13+
* 在工程根目录中的`build.gradle`文件中的 `buildscript.dependencies`中添加`classpath "com.wanjian.plugin:tinypng:0.0.2"` 例如:
1414

1515
```
1616
buildscript {
@@ -20,7 +20,7 @@ buildscript {
2020
}
2121
dependencies {
2222
classpath 'com.android.tools.build:gradle:3.0.0'
23-
compile 'com.wanjian.plugin:tinypng:0.0.2'
23+
classpath "com.wanjian.plugin:tinypng:0.0.2"
2424
}
2525
}
2626
@@ -50,4 +50,4 @@ tinyPng {
5050

5151
* 可以在各module下添`exclude_pictures.txt`文件,资源根目录下的drawable-xx文件夹及mipmap文件夹中的图片路径(以该module作为根路径)包含该文件配置的路径的图片不会压缩
5252
* 也可以手动调用 `./grawablew tinyPngxxx` 压缩图片
53-
* 各module下的`compressed_pictures`文件是tinypng plugin自动生成的,不要手动修改里面的内容,该module中压缩后的图片的md5值都记录在这里面
53+
* 各module下的`compressed_pictures`文件是tinypng plugin自动生成的,不要手动修改里面的内容,该module中压缩后的图片的md5值都记录在这里面

0 commit comments

Comments
 (0)