Skip to content

Commit

Permalink
fix issue #30
Browse files Browse the repository at this point in the history
  • Loading branch information
yuweiguocn committed May 16, 2019
1 parent c2316d4 commit 02f30c1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The original code is from [stackoverflow](http://stackoverflow.com/a/30334668/71
```
dependencies {
compile 'org.greenrobot:greendao:3.2.0'
compile 'io.github.yuweiguocn:GreenDaoUpgradeHelper:v2.2.0'
compile 'io.github.yuweiguocn:GreenDaoUpgradeHelper:v2.2.1'
}
```
or (greendao 3.0 below)
Expand Down
2 changes: 1 addition & 1 deletion README_CH.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ GreenDaoUpgradeHelper是一个greenDao的数据库升级帮助类。使用它可
```
dependencies {
compile 'org.greenrobot:greendao:3.2.0'
compile 'io.github.yuweiguocn:GreenDaoUpgradeHelper:v2.2.0'
compile 'io.github.yuweiguocn:GreenDaoUpgradeHelper:v2.2.1'
}
```
如果你使用的greendao是3.0以前的版本,请使用下面的依赖:
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'org.greenrobot:greendao:3.2.0'
implementation 'org.greenrobot:greendao:3.0.1'

implementation 'io.github.yuweiguocn:GreenDaoUpgradeHelper:2.2.0'
implementation 'io.github.yuweiguocn:GreenDaoUpgradeHelper:2.2.1'
// implementation project(':library')
implementation 'net.zetetic:android-database-sqlcipher:3.5.7@aar'
}
10 changes: 5 additions & 5 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
versionCode 220
versionName "2.2.0"
versionCode 221
versionName "2.2.1"
}
buildTypes {
release {
Expand All @@ -22,16 +22,16 @@ android {
}

dependencies {
compile 'org.greenrobot:greendao:3.2.0'
compile 'com.android.support:support-annotations:28.0.0'
compileOnly 'org.greenrobot:greendao:3.2.0'
api 'com.android.support:support-annotations:28.0.0'
}


publish {
userOrg = 'yuweiguocn'//用户名
groupId = 'io.github.yuweiguocn'//包名
artifactId = 'GreenDaoUpgradeHelper'//类库名
publishVersion = '2.2.0'//版本号
publishVersion = '2.2.1'//版本号
desc = 'To solve database upgrade of greenDao and just need one line code.'//描述
website = 'https://github.com/yuweiguocn/GreenDaoUpgradeHelper'//对应的github网址
}

0 comments on commit 02f30c1

Please sign in to comment.