Skip to content

Commit

Permalink
Prepare version 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Airsaid committed Sep 9, 2021
1 parent 3d149fa commit 6be036e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public class Person {

# More Examples
```
@Mock
// The size of the data set can be set by randomSizeRange attribute
@Mock(randomSizeRange = [1, 100])
public List<Person> personList;
@Mock
Expand Down Expand Up @@ -96,4 +97,4 @@ 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.
```
```
8 changes: 4 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Version](https://img.shields.io/maven-central/v/com.airsaid/okmock)](https://plugins.gradle.org/plugin/com.airsaid.okmock)

# OKMock
:balloon: OKMock 是一个用与 Android 上快速填充字段数据的 Gradle Plugin。
:balloon: OKMock 是一个 Android 上快速填充字段数据的 Gradle Plugin。


# 使用
Expand Down Expand Up @@ -57,7 +57,8 @@ public class Person {

# 更多示例
```
@Mock
// 通过 randomSizeRange 属性可以设置数据集的大小
@Mock(randomSizeRange = [1, 100])
public List<Person> personList;
@Mock
Expand All @@ -82,7 +83,6 @@ public Map<Integer, Person>[] personMapArray;
public Map<Integer, List<Person>> personMapNested;
```


# License
```
Copyright 2021 Airsaid
Expand All @@ -98,4 +98,4 @@ 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.
```
```
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {
ext.kotlin_version = "1.5.10"
ext.agp_version = "4.1.1"
ext.okmock_version = "1.0.2"
ext.okmock_version = "1.0.3"
ext.isReleaseBuild = !okmock_version.endsWith('-SNAPSHOT')
repositories {
if (!isReleaseBuild) {
Expand All @@ -23,7 +23,7 @@ buildscript {

subprojects {
group('com.airsaid')
version("1.0.2")
version("1.0.3")
}

allprojects {
Expand Down
2 changes: 1 addition & 1 deletion okmock-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
pluginBundle {
website = 'https://github.com/Airsaid/OKMock'
vcsUrl = 'https://github.com/Airsaid/OKMock'
tags = ['Mock', 'Java', 'Android', 'Annotation']
tags = ['Mock', 'Java', 'Android', 'Annotation', 'ASM', 'Transform']
}

java {
Expand Down

0 comments on commit 6be036e

Please sign in to comment.