From 62d74dbf14510232ad28529811d804a3b6c5a6e0 Mon Sep 17 00:00:00 2001 From: Florent CHAMPIGNY Date: Fri, 5 Feb 2016 13:57:46 +0100 Subject: [PATCH] Update README.md --- README.md | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index f0100bf..1d56ec1 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,27 @@ [![logo freezer](https://raw.githubusercontent.com/florent37/Freezer/master/freezer-logo.png)](https://github.com/florent37/Freezer) +#Download + +[ ![Download](https://api.bintray.com/packages/florent37/maven/freezer-compiler/images/download.svg) ](https://bintray.com/florent37/maven/freezer-compiler/_latestVersion) +```java +buildscript { + dependencies { + classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' + } +} + +apply plugin: 'com.neenbedankt.android-apt' + +dependencies { + compile 'fr.xebia.android.freezer:freezer:1.0.3' + provided 'fr.xebia.android.freezer:freezer-annotations:1.0.3' + apt 'fr.xebia.android.freezer:freezer-compiler:1.0.3' +} +``` + +#Usage + Use Annotations to mark classes to be persisted: ```java @@ -236,25 +257,6 @@ We encourage the community to contribute to the project by opening tickets and/o [![logo xebia](https://raw.githubusercontent.com/florent37/Freezer/master/logo_xebia.jpg)](http://www.xebia.fr/) -#Download - -[ ![Download](https://api.bintray.com/packages/florent37/maven/freezer-compiler/images/download.svg) ](https://bintray.com/florent37/maven/freezer-compiler/_latestVersion) -```java -buildscript { - dependencies { - classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' - } -} - -apply plugin: 'com.neenbedankt.android-apt' - -dependencies { - compile 'fr.xebia.android.freezer:freezer:1.0.3' - provided 'fr.xebia.android.freezer:freezer-annotations:1.0.3' - apt 'fr.xebia.android.freezer:freezer-compiler:1.0.3' -} -``` - License --------