Skip to content

Commit

Permalink
发布1.0.5版本
Browse files Browse the repository at this point in the history
  • Loading branch information
xuexiangjys committed Sep 8, 2019
1 parent 1cc75c5 commit ba6e7f0
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 26 deletions.
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
一个轻量级的AOP(Android)应用框架。囊括了最实用的AOP应用。

[![](https://jitpack.io/v/xuexiangjys/XAOP.svg)](https://jitpack.io/#xuexiangjys/XAOP)
[![api][apisvg]][api]
[![I](https://img.shields.io/github/issues/xuexiangjys/XAOP.svg)](https://github.com/xuexiangjys/XAOP/issues)
[![api](https://img.shields.io/badge/API-14+-brightgreen.svg)](https://android-arsenal.com/api?level=14)
[![Issue](https://img.shields.io/github/issues/xuexiangjys/XAOP.svg)](https://github.com/xuexiangjys/XAOP/issues)
[![Star](https://img.shields.io/github/stars/xuexiangjys/XAOP.svg)](https://github.com/xuexiangjys/XAOP)

## 关于我

[![github](https://img.shields.io/badge/GitHub-xuexiangjys-blue.svg)](https://github.com/xuexiangjys) [![csdn](https://img.shields.io/badge/CSDN-xuexiangjys-green.svg)](http://blog.csdn.net/xuexiangjys)
[![github](https://img.shields.io/badge/GitHub-xuexiangjys-blue.svg)](https://github.com/xuexiangjys) [![csdn](https://img.shields.io/badge/CSDN-xuexiangjys-green.svg)](http://blog.csdn.net/xuexiangjys) [![简书](https://img.shields.io/badge/简书-xuexiangjys-red.svg)](https://www.jianshu.com/u/6bf605575337) [![掘金](https://img.shields.io/badge/掘金-xuexiangjys-brightgreen.svg)](https://juejin.im/user/598feef55188257d592e56ed) [![知乎](https://img.shields.io/badge/知乎-xuexiangjys-violet.svg)](https://www.zhihu.com/people/xuexiangjys)

## 特点

Expand Down Expand Up @@ -60,7 +60,7 @@ buildscript {
···
dependencies {
···
classpath 'com.github.xuexiangjys.XAOP:xaop-plugin:1.0.4'
classpath 'com.github.xuexiangjys.XAOP:xaop-plugin:1.0.5'
}
}
```
Expand All @@ -73,9 +73,9 @@ apply plugin: 'com.xuexiang.xaop' //引用xaop插件
dependencies {
···
//添加依赖
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:1.0.4'
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:1.0.5'
//如果你升级到androidx,请使用下面依赖
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:x1.0.3'
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:x1.0.5'
}
```
Expand Down Expand Up @@ -327,13 +327,12 @@ private String hello(String name, String cardId) {
}
```

## 如果觉得项目还不错,可以考虑打赏一波

![](https://github.com/xuexiangjys/Resource/blob/master/img/pay/alipay.jpeg)   ![](https://github.com/xuexiangjys/Resource/blob/master/img/pay/weixinpay.jpeg)

## 联系方式

[![](https://img.shields.io/badge/点击一键加入QQ群-602082750-blue.svg)](http://shang.qq.com/wpa/qunwpa?idkey=9922861ef85c19f1575aecea0e8680f60d9386080a97ed310c971ae074998887)

![](https://github.com/xuexiangjys/XPage/blob/master/img/qq_group.jpg)

[xaopsvg]: https://img.shields.io/badge/XAOP-v1.0.4-brightgreen.svg
[xaop]: https://github.com/xuexiangjys/XAOP
[apisvg]: https://img.shields.io/badge/API-14+-brightgreen.svg
[api]: https://android-arsenal.com/api?level=14
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation deps.support.app_compat
// implementation project(':xaop-runtime')
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:1.0.4'
implementation project(':xaop-runtime')
// implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:1.0.4'

implementation 'com.github.xuexiangjys.XUtil:xutil-core:1.1.5'
implementation 'com.github.xuexiangjys.XUtil:xutil-core:1.1.6'
implementation deps.gson

}
15 changes: 15 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.xuexiang.xaopdemo">

<!--手机权限-->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<!--闪光灯-->
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-feature android:name="android.hardware.camera.flash" />

<application
android:name=".App"
android:allowBackup="true"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/xuexiang/xaopdemo/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void run() {
@SingleClick
@Permission({PermissionConsts.CALENDAR, PermissionConsts.CAMERA, PermissionConsts.LOCATION})
private void handleRequestPermission(View v) {

ToastUtils.toast("权限申请通过!");
}

@SingleClick(5000)
Expand Down
16 changes: 6 additions & 10 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
一个轻量级的AOP(Android)应用框架。囊括了最实用的AOP应用。

[![](https://jitpack.io/v/xuexiangjys/XAOP.svg)](https://jitpack.io/#xuexiangjys/XAOP)
[![api][apisvg]][api]
[![I](https://img.shields.io/github/issues/xuexiangjys/XAOP.svg)](https://github.com/xuexiangjys/XAOP/issues)
[![api](https://img.shields.io/badge/API-14+-brightgreen.svg)](https://android-arsenal.com/api?level=14)
[![Issue](https://img.shields.io/github/issues/xuexiangjys/XAOP.svg)](https://github.com/xuexiangjys/XAOP/issues)
[![Star](https://img.shields.io/github/stars/xuexiangjys/XAOP.svg)](https://github.com/xuexiangjys/XAOP)

## 关于我

[![github](https://img.shields.io/badge/GitHub-xuexiangjys-blue.svg)](https://github.com/xuexiangjys) [![csdn](https://img.shields.io/badge/CSDN-xuexiangjys-green.svg)](http://blog.csdn.net/xuexiangjys)
[![github](https://img.shields.io/badge/GitHub-xuexiangjys-blue.svg)](https://github.com/xuexiangjys) [![csdn](https://img.shields.io/badge/CSDN-xuexiangjys-green.svg)](http://blog.csdn.net/xuexiangjys) [![简书](https://img.shields.io/badge/简书-xuexiangjys-red.svg)](https://www.jianshu.com/u/6bf605575337) [![掘金](https://img.shields.io/badge/掘金-xuexiangjys-brightgreen.svg)](https://juejin.im/user/598feef55188257d592e56ed) [![知乎](https://img.shields.io/badge/知乎-xuexiangjys-violet.svg)](https://www.zhihu.com/people/xuexiangjys)

## 特点

Expand Down Expand Up @@ -49,7 +49,7 @@ buildscript {
···
dependencies {
···
classpath 'com.github.xuexiangjys.XAOP:xaop-plugin:1.0.4'
classpath 'com.github.xuexiangjys.XAOP:xaop-plugin:1.0.5'
}
}
```
Expand All @@ -61,9 +61,9 @@ apply plugin: 'com.xuexiang.xaop' //引用xaop插件
dependencies {
···
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:1.0.4' //添加依赖
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:1.0.5' //添加依赖
//如果你升级到androidx,请使用下面依赖
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:x1.0.3'
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:x1.0.5'
}
```
Expand Down Expand Up @@ -108,7 +108,3 @@ XAOP.setInterceptor(new Interceptor() {

[![](https://img.shields.io/badge/点击一键加入QQ群-602082750-blue.svg)](http://shang.qq.com/wpa/qunwpa?idkey=9922861ef85c19f1575aecea0e8680f60d9386080a97ed310c971ae074998887)

[xaopsvg]: https://img.shields.io/badge/XAOP-v1.0.4-brightgreen.svg
[xaop]: https://github.com/xuexiangjys/XAOP
[apisvg]: https://img.shields.io/badge/API-14+-brightgreen.svg
[api]: https://android-arsenal.com/api?level=14
2 changes: 1 addition & 1 deletion xaop-annotation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation deps.support.app_compat
compileOnly deps.support.app_compat
}

apply from: "../JitPackUpload.gradle"

0 comments on commit ba6e7f0

Please sign in to comment.