Version 1.7.0

This commit is contained in:
Aleksander Nowakowski 2018-07-03 15:25:27 +02:00
parent 3cffd16087
commit 0b907aaf06
4 changed files with 18 additions and 19 deletions

View File

@ -7,7 +7,7 @@
The compat library may be found on jcenter and Maven Central repository. Add it to your project by adding the following dependency: The compat library may be found on jcenter and Maven Central repository. Add it to your project by adding the following dependency:
```Groovy ```Groovy
compile 'no.nordicsemi.android:dfu:1.6.1' compile 'no.nordicsemi.android:dfu:1.7.0'
``` ```
If you use proguard, add the following line to your proguard rules: If you use proguard, add the following line to your proguard rules:

View File

@ -6,13 +6,11 @@ buildscript {
google() google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.1' classpath 'com.android.tools.build:gradle:3.1.3'
/*
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3" classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.3"
// The following dependency has been replaced with newer version according to https://github.com/dcendents/android-maven-plugin classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
// classpath 'com.github.dcendents:android-maven-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
*/
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
} }

View File

@ -8,14 +8,14 @@ apply plugin: 'com.android.library'
* *
* A newer then described version of maven plugin dependency is required (see project's gradle.build). * A newer then described version of maven plugin dependency is required (see project's gradle.build).
*/ */
/*
/*apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray' apply plugin: 'com.jfrog.bintray'
ext { ext {
PUBLISH_GROUP_ID = 'no.nordicsemi.android' PUBLISH_GROUP_ID = 'no.nordicsemi.android'
PUBLISH_ARTIFACT_ID = 'dfu' PUBLISH_ARTIFACT_ID = 'dfu'
PUBLISH_VERSION = '1.6.1' PUBLISH_VERSION = '1.7.0'
bintrayRepo = 'android' bintrayRepo = 'android'
bintrayName = 'dfu-library' bintrayName = 'dfu-library'
@ -37,16 +37,16 @@ ext {
licenseName = 'The BSD 3-Clause License' licenseName = 'The BSD 3-Clause License'
licenseUrl = 'http://opensource.org/licenses/BSD-3-Clause' licenseUrl = 'http://opensource.org/licenses/BSD-3-Clause'
allLicenses = ["BSD 3-Clause"] allLicenses = ["BSD 3-Clause"]
}*/ }
*/
android { android {
compileSdkVersion 27 compileSdkVersion 27
defaultConfig { defaultConfig {
minSdkVersion 18 minSdkVersion 18
targetSdkVersion 27 targetSdkVersion 27
versionCode 19 versionCode 20
versionName "1.6.1" versionName "1.7.0"
} }
buildTypes { buildTypes {
@ -59,7 +59,7 @@ android {
dependencies { dependencies {
implementation 'com.android.support:support-core-utils:27.1.1' implementation 'com.android.support:support-core-utils:27.1.1'
implementation 'com.google.code.gson:gson:2.8.0' implementation 'com.google.code.gson:gson:2.8.2'
} }
/* /*
@ -112,4 +112,5 @@ if (JavaVersion.current().isJava8Compatible()) {
options.addStringOption('Xdoclint:none', '-quiet') options.addStringOption('Xdoclint:none', '-quiet')
} }
} }
}*/ }
*/

View File

@ -1,6 +1,6 @@
#Fri Oct 06 17:51:25 CEST 2017 #Tue Jul 03 15:08:37 CEST 2018
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip