diff --git a/README.md b/README.md index ee8fa07..146b884 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ A library to make classic bluetooth or BLE easier to use in Android. ```groovy dependencies { - compile 'co.lujun:lmbluetoothsdk:1.0.2' + compile 'co.lujun:lmbluetoothsdk:1.0.4' } ``` @@ -26,7 +26,7 @@ dependencies { co.lujun lmbluetoothsdk - 1.0.2 + 1.0.4 aar ``` @@ -191,6 +191,9 @@ Manufacturing bluetooth connection status, there are 6 states in the class. | STATE_GOT_CHARACTERISTICS | 6 | got all characteristics ## Change logs +###1.0.4(2017-2-6) +- bug fix + ###1.0.2(2016-3-15) - Add ```RSSI``` value for scan callback - Add ```STATE_GOT_CHARACTERISTICS``` state for got all characteristics diff --git a/build.gradle b/build.gradle index 8867406..a2a730e 100644 --- a/build.gradle +++ b/build.gradle @@ -5,8 +5,8 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.1.2' - classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' + classpath 'com.android.tools.build:gradle:2.2.2' + classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0' // NOTE: Do not place your application dependencies here; they belong diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 1e887c5..bd17d6a 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Fri Aug 19 18:14:54 CDT 2016 +#Mon Feb 06 22:54:24 CST 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip diff --git a/lmbluetoothsdk/build.gradle b/lmbluetoothsdk/build.gradle index 886b874..cb42de5 100755 --- a/lmbluetoothsdk/build.gradle +++ b/lmbluetoothsdk/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 23 - buildToolsVersion "23.0.3" + compileSdkVersion 25 + buildToolsVersion "25.0.0" defaultConfig { minSdkVersion 9 targetSdkVersion 23 - versionCode 103 - versionName "1.0.3" + versionCode 104 + versionName "1.0.4" } buildTypes { release {