diff --git a/README.md b/README.md
index bd913e1..4eb3f8f 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,6 @@
# DataAutoAccess
+[![Releases](https://img.shields.io/github/release/ThirtyDegreesRay/DataAutoAccess.svg)](https://github.com/ThirtyDegreesRay/DataAutoAccess/releases/latest)
+
自动存取Android Bundle中数据——给需要自动存取的变量添加注解,编译时会通过注解处理自动生成存取的代码
* Activity或Service启动时自动取出Intent中的数据,并赋值给相应的field
@@ -59,8 +61,8 @@ Then, apply the 'android-apt' plugin in your module-level build.gradle and add t
}
dependencies {
- compile 'com.thirtydegreesray:dataautoaccess:1.2.6'
- apt 'com.thirtydegreesray:dataautoaccess-compiler:1.2.6'
+ compile 'com.thirtydegreesray:dataautoaccess:latestVersion'
+ apt 'com.thirtydegreesray:dataautoaccess-compiler:latestVersion'
}
## Proguard
diff --git a/build.gradle b/build.gradle
index 7b0ff71..c2631c4 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,8 +6,7 @@ buildscript {
jcenter()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.1.3'
- classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
+ classpath 'com.android.tools.build:gradle:2.3.3'
classpath "com.github.dcendents:android-maven-gradle-plugin:1.5"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
diff --git a/dataautoaccess-annotations/build.gradle b/dataautoaccess-annotations/build.gradle
index 363468d..bbbb4c0 100644
--- a/dataautoaccess-annotations/build.gradle
+++ b/dataautoaccess-annotations/build.gradle
@@ -8,8 +8,8 @@ dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}
-sourceCompatibility = "1.6"
-targetCompatibility = "1.6"
+targetCompatibility = '1.7'
+sourceCompatibility = '1.7'
def siteUrl = 'https://github.com/ThirtyDegreesRay/DataAutoAccess' // 项目的主页
def gitUrl = 'https://github.com/ThirtyDegreesRay/DataAutoAccess.git' // Git仓库的url
diff --git a/dataautoaccess-compiler/build.gradle b/dataautoaccess-compiler/build.gradle
index 8d4a7a0..6601667 100644
--- a/dataautoaccess-compiler/build.gradle
+++ b/dataautoaccess-compiler/build.gradle
@@ -10,8 +10,8 @@ dependencies {
compile project(':dataautoaccess-annotations')
}
-sourceCompatibility = "1.6"
-targetCompatibility = "1.6"
+targetCompatibility = '1.7'
+sourceCompatibility = '1.7'
def siteUrl = 'https://github.com/ThirtyDegreesRay/DataAutoAccess' // 项目的主页
def gitUrl = 'https://github.com/ThirtyDegreesRay/DataAutoAccess.git' // Git仓库的url
diff --git a/dataautoaccess/build.gradle b/dataautoaccess/build.gradle
index 7f83b11..fbbd1f5 100644
--- a/dataautoaccess/build.gradle
+++ b/dataautoaccess/build.gradle
@@ -1,16 +1,15 @@
apply plugin: 'com.android.library'
-
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'
version = VERSION_NAME
android {
- compileSdkVersion 24
- buildToolsVersion "24.0.2"
+ compileSdkVersion 26
+ buildToolsVersion "26.0.2"
defaultConfig {
minSdkVersion 9
- targetSdkVersion 24
+ targetSdkVersion 26
versionCode VERSION_CODE as int
versionName VERSION_NAME
diff --git a/dataautoaccess/src/main/java/com/thirtydegreesray/dataautoaccess/DataAutoAccess.java b/dataautoaccess/src/main/java/com/thirtydegreesray/dataautoaccess/DataAutoAccess.java
index d5f30cd..857171d 100644
--- a/dataautoaccess/src/main/java/com/thirtydegreesray/dataautoaccess/DataAutoAccess.java
+++ b/dataautoaccess/src/main/java/com/thirtydegreesray/dataautoaccess/DataAutoAccess.java
@@ -8,6 +8,7 @@
import java.util.ArrayList;
import java.util.LinkedHashMap;
+import java.util.List;
/**
* Data auto access
@@ -70,8 +71,8 @@ public static void getData(Object targetObject, Bundle dataStore) {
return;
}
- DataAccessor