Skip to content

Commit

Permalink
update README, add CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
2BAB committed Sep 30, 2018
1 parent 4285566 commit 1e0a945
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 9 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Only place important and recommended versions here.

## 2.3.0

- Supported adaptive-icon
- Supported android:roundIcon correctly (instead of hardcode)
- Bumped Gradle version to 4.10.2 (latest stable)
- Bugs fixed
- Code Review

## 2.2.0

- Fixed the wrong usage of buildType and flavor, now we use dimension for the combination name
- Fixed deploy script
- Bumped Gradle version to 4.6, Android Gradle Plugin to 3.2.0

## 2.1.1

- Bugs fixed
- Integrated Travis

13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
ScatchPaper can add a overlay on your icon, and put some given information on it.

- Supported regular & round Icons
- Supported adaptive-icon
- Supported AAPT2

> If you have more than one staging App for QA or other colleagues, when they found some issues you may don't know how to match the App to your commit, because all of them share the same versions like "2.1.0-SNAPSHOT".
ScatchPaper supports generating build information into your artifact (which can read from /assets/scratch-paper.json) and also `/intermedias/scratch-paper/assets` directory including:
Expand All @@ -29,8 +33,8 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'me.2bab:scratch-paper:2.2.0'
classpath 'com.android.tools.build:gradle:3.2.0'
classpath 'me.2bab:scratch-paper:2.3.0'
}
}
```
Expand All @@ -54,11 +58,11 @@ apply plugin: 'me.2bab.scratchpaper'

``` gradle
scratchPaper {
textSize = 12
textSize = 11
textColor = "#FFFFFFFF"
verticalLinePadding = 4
backgroundColor = "#99000000"
extraInfo = "This is a sample!"
extraInfo = new Date().format("MM-dd,HH:mm")
enableGenerateIconOverlay = true
enableGenerateBuildInfo = true
Expand All @@ -74,6 +78,7 @@ ScratchPaper only tests in Latest TWO Minor versions of Android Gradle Plugin.

AGP Version|Compatible Status
-----------|-----------------
3.2.x (Aapt2) | Support
3.1.x (Aapt2) | Support
3.0.x (Aapt2) | Support
2.3.x (Aapt2) | Never Tested
Expand Down
13 changes: 9 additions & 4 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
ScatchPaper 可以在你的 App icon 上加一个蒙层用以区分出各个 BuildType 的 App,并且承载了版本信息等附加文字。

- 支持 常规 和 圆形 的图标
- 支持 adaptive-icon
- 支持 AAPT2

> 如果你同时打了多个测试包给测试或者产品(例如基于多个复合分支),当他们给你反馈的问题时候你和他们可能都很难分别出每个 App 对应的具体的分支或者 commit 节点。
ScatchPaper 支持生成编译信息并打包到你的 Apk 中(从 assets 中读取),以及输出一份拷贝到 `/intermedias/scratch-paper/assets` 文件夹,包括:
Expand All @@ -29,8 +33,8 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'me.2bab:scratch-paper:2.2.0'
classpath 'com.android.tools.build:gradle:3.2.0'
classpath 'me.2bab:scratch-paper:2.3.0'
}
}
```
Expand All @@ -54,11 +58,11 @@ apply plugin: 'me.2bab.scratchpaper'

``` gradle
scratchPaper {
textSize = 12
textSize = 11
textColor = "#FFFFFFFF"
verticalLinePadding = 4
backgroundColor = "#99000000"
extraInfo = "This is a sample!"
extraInfo = new Date().format("MM-dd,HH:mm")
enableGenerateIconOverlay = true
enableGenerateBuildInfo = true
Expand All @@ -74,6 +78,7 @@ ScratchPaper 只会支持最新两个 Minor 版本的 Android Gradle Plugin:

AGP Version|Compatible Status
-----------|-----------------
3.2.x (Aapt2) | Support
3.1.x (Aapt2) | Support
3.0.x (Aapt2) | Support
2.3.x (Aapt2) | Never Tested
Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'me.2bab:scratch-paper:2.2.1-SNAPSHOT'
classpath 'me.2bab:scratch-paper:2.3.0-SNAPSHOT'
}
}

Expand Down

0 comments on commit 1e0a945

Please sign in to comment.