README update - new version on jcentral

This commit is contained in:
Aleksander Nowakowski 2015-11-18 13:26:03 +01:00
commit e725903468
4 changed files with 18 additions and 6 deletions

View File

@ -1,5 +1,15 @@
# DFU Library
[ ![Download](https://api.bintray.com/packages/nordic/android/dfu-library/images/download.svg) ](https://bintray.com/nordic/android/dfu-library/_latestVersion)
### Usage
The compat library may be found on jcenter and Maven Central repository. Add it to your project by adding the following dependency:
```Groovy
compile 'no.nordicsemi.android:dfu:0.6'
```
### Device Firmware Update (DFU)
The nRF51 Series chips are flash-based SoCs, and as such they represent the most flexible solution available. A key feature of the nRF51 Series and their associated software architecture

View File

@ -5,12 +5,13 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.android.tools.build:gradle:1.3.1'
/*
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2"
// The following dependency has been replaced with newer version according to https://github.com/dcendents/android-maven-plugin
// classpath 'com.github.dcendents:android-maven-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
*/
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}

View File

@ -9,7 +9,7 @@ apply plugin: 'com.android.library'
* 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'
ext {
@ -37,7 +37,7 @@ ext {
licenseName = 'The BSD 3-Clause License'
licenseUrl = 'http://opensource.org/licenses/BSD-3-Clause'
allLicenses = ["BSD 3-Clause"]
}
}*/
android {
compileSdkVersion 23
@ -62,6 +62,7 @@ dependencies {
compile 'com.android.support:support-v4:23.1.1'
compile 'com.google.code.gson:gson:2.3.1'
}
/*
// The following script creates a POM file required to publish on Maven Central
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
@ -104,4 +105,4 @@ bintray {
}
}
}
}
}*/

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":dfu" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="no.nordicsemi.android" external.system.module.version="0.6.1" type="JAVA_MODULE" version="4">
<module external.linked.project.id=":dfu" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="DFULibrary" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>