diff --git a/Aria/build.gradle b/Aria/build.gradle index 0c1d0be7..7b8287a2 100644 --- a/Aria/build.gradle +++ b/Aria/build.gradle @@ -22,8 +22,8 @@ dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.1.1' -// compile project(':AriaCompiler') - compile project(':AriaAnnotations') + compile project(':AriaCompiler') +// compile project(':AriaAnnotations') } -apply from: 'bintray-release.gradle' +//apply from: 'bintray-release.gradle' //apply from: 'jcenter.gradle' diff --git a/AriaAnnotations/build.gradle b/AriaAnnotations/build.gradle index a9f2139b..0b581ad5 100644 --- a/AriaAnnotations/build.gradle +++ b/AriaAnnotations/build.gradle @@ -11,4 +11,4 @@ dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) } -apply from: 'bintray-release.gradle' \ No newline at end of file +//apply from: 'bintray-release.gradle' \ No newline at end of file diff --git a/AriaCompiler/build.gradle b/AriaCompiler/build.gradle index a76e8659..38de01a1 100644 --- a/AriaCompiler/build.gradle +++ b/AriaCompiler/build.gradle @@ -14,4 +14,4 @@ dependencies { compile project(':AriaAnnotations') } -apply from: 'bintray-release.gradle' \ No newline at end of file +//apply from: 'bintray-release.gradle' \ No newline at end of file diff --git a/README.md b/README.md index 1f3ab442..f5b5e5d4 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,8 @@ Aria怎样使用? [![Download](https://api.bintray.com/packages/arialyy/maven/AriaApi/images/download.svg)](https://bintray.com/arialyy/maven/AriaApi/_latestVersion) [![Download](https://api.bintray.com/packages/arialyy/maven/AriaCompiler/images/download.svg)](https://bintray.com/arialyy/maven/AriaCompiler/_latestVersion) ```java -<<<<<<< HEAD -compile 'com.arialyy.aria:aria-core:3.1.8' -annotationProcessor 'com.arialyy.aria:aria-compiler:3.1.8' -======= compile 'com.arialyy.aria:Aria:3.1.9' annotationProcessor 'com.arialyy.aria:aria-compiler:3.1.9' ->>>>>>> v_3.0 ``` ## 示例 @@ -86,14 +81,9 @@ annotationProcessor 'com.arialyy.aria:aria-compiler:3.1.9' ``` ### 下载状态获取 -<<<<<<< HEAD -如果你希望读取下载进度或下载信息,那么你需要 -* 将对象注册到Aria -======= 如果你希望读取下载进度或下载信息,那么你需要创建事件类,并在onResume(Activity、Fragment)或构造函数(Dialog、PopupWindow),将该事件类注册到Aria管理器。 1. 将对象注册到Aria ->>>>>>> v_3.0 `Aria.download(this).register();`或`Aria.upload(this).register();` ```java @@ -104,11 +94,7 @@ annotationProcessor 'com.arialyy.aria:aria-compiler:3.1.9' } ``` -<<<<<<< HEAD -* 使用`@Download`或`@Upload`注解你的函数 -======= 2. 使用`@Download`或`@Upload`注解你的函数 ->>>>>>> v_3.0 **注意:** - 注解回掉采用Apt的方式实现,所以,你不需要担心这会影响你机器的性能 diff --git a/build.gradle b/build.gradle index 3e0391ff..d4da586b 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:2.2.2' - classpath 'com.novoda:bintray-release:0.5.0' +// classpath 'com.novoda:bintray-release:0.5.0' // classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7' // classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' // NOTE: Do not place your application dependencies here; they belong