Skip to content

Commit

Permalink
优化配置
Browse files Browse the repository at this point in the history
  • Loading branch information
taoweiji committed Aug 4, 2017
1 parent 77c3f6b commit 5845c15
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ MixPush只是一个降低集成多家推送服务的框架,自身不拥有推
```
dependencies {
compile 'com.github.joyrun.MixPush:client-core:0.2.0' //必填
compile 'com.github.joyrun.MixPush:client-mipush:0.2.0' // 小米推送
compile 'com.github.joyrun.MixPush:client-getui:0.2.0' // 个推
compile 'com.github.joyrun.MixPush:client-meizu:0.2.0' // 魅族推送,魅族推送只支持Flyme系统,务必需要注意
compile 'com.github.joyrun.MixPush:client-core:1.0.0' //必填
compile 'com.github.joyrun.MixPush:client-mipush:1.0.0' // 小米推送
compile 'com.github.joyrun.MixPush:client-getui:1.0.0' // 个推
compile 'com.github.joyrun.MixPush:client-meizu:1.0.0' // 魅族推送,魅族推送只支持Flyme系统,务必需要注意
}
```
创建一个继承MixPushIntentService的服务类,用于接收事件:
Expand Down
10 changes: 6 additions & 4 deletions demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ dependencies {
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7'
testCompile 'junit:junit:4.12'


compile project(':client-core')
compile project(':client-mipush')
compile project(':client-getui')
compile project(':client-meizu')

// compile 'com.github.joyrun.MixPush:client-core:0.1'
// compile 'com.github.joyrun.MixPush:client-mipush:0.1'
// compile 'com.github.joyrun.MixPush:client-getui:0.1'
// compile 'com.github.joyrun.MixPush:client-meizu:0.1'//魅族推送只支持Flyme系统,务必需要注意
// compile 'com.github.joyrun.MixPush:client-core:1.0.0'
// compile 'com.github.joyrun.MixPush:client-mipush:1.0.0'
// compile 'com.github.joyrun.MixPush:client-getui:1.0.0'
// compile 'com.github.joyrun.MixPush:client-meizu:1.0.0'//魅族推送只支持Flyme系统,务必需要注意
}

0 comments on commit 5845c15

Please sign in to comment.