File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
11
11
12
12
### 使用方式
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" ` 例如:
14
14
15
15
```
16
16
buildscript {
@@ -20,7 +20,7 @@ buildscript {
20
20
}
21
21
dependencies {
22
22
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"
24
24
}
25
25
}
26
26
@@ -50,4 +50,4 @@ tinyPng {
50
50
51
51
* 可以在各module下添` exclude_pictures.txt ` 文件,资源根目录下的drawable-xx文件夹及mipmap文件夹中的图片路径(以该module作为根路径)包含该文件配置的路径的图片不会压缩
52
52
* 也可以手动调用 ` ./grawablew tinyPngxxx ` 压缩图片
53
- * 各module下的` compressed_pictures ` 文件是tinypng plugin自动生成的,不要手动修改里面的内容,该module中压缩后的图片的md5值都记录在这里面
53
+ * 各module下的` compressed_pictures ` 文件是tinypng plugin自动生成的,不要手动修改里面的内容,该module中压缩后的图片的md5值都记录在这里面
You can’t perform that action at this time.
0 commit comments