From 17583e191fd4a154f57ad99fa41b1388b238acdd Mon Sep 17 00:00:00 2001 From: Kittinun Vantasin Date: Mon, 30 Apr 2018 22:52:33 +0900 Subject: [PATCH] :bookmark: Release v1.13.0 (#341) --- README.md | 15 +++++++++++++-- build.gradle | 2 +- deploy_bintray.sh | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0719c26bf..f236c7caa 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Fuel -[ ![Kotlin](https://img.shields.io/badge/Kotlin-1.1.60-blue.svg)](http://kotlinlang.org) [ ![jcenter](https://api.bintray.com/packages/kittinunf/maven/Fuel-Android/images/download.svg) ](https://bintray.com/kittinunf/maven/Fuel-Android/_latestVersion) [![Build Status](https://travis-ci.org/kittinunf/Fuel.svg?branch=master)](https://travis-ci.org/kittinunf/Fuel) +[ ![Kotlin](https://img.shields.io/badge/Kotlin-1.2.40-blue.svg)](http://kotlinlang.org) [ ![jcenter](https://api.bintray.com/packages/kittinunf/maven/Fuel-Android/images/download.svg) ](https://bintray.com/kittinunf/maven/Fuel-Android/_latestVersion) [![Build Status](https://travis-ci.org/kittinunf/Fuel.svg?branch=master)](https://travis-ci.org/kittinunf/Fuel) [![Codecov](https://codecov.io/github/kittinunf/Fuel/coverage.svg?branch=master)](https://codecov.io/gh/kittinunf/Fuel) The easiest HTTP networking library for Kotlin/Android. @@ -20,7 +20,8 @@ The easiest HTTP networking library for Kotlin/Android. - [x] Special test mode for easier testing - [x] RxJava 2.x support out of the box - [x] Google Components [LiveData](https://developer.android.com/topic/libraries/architecture/livedata.html) support -- [x] Gson module support +- [x] Built-in object serialization module (Gson, Jackson, Moshi, Forge) :sparkles: +- [x] Support Kotlin's [Coroutines](https://github.com/Kotlin/kotlinx.coroutines) module - [x] API Routing ## Installation @@ -41,6 +42,10 @@ The easiest HTTP networking library for Kotlin/Android. * [RxJava](https://github.com/ReactiveX/RxJava) - RxJava – Reactive Extensions for the JVM +### Dependency - fuel-coroutines + +* [Coroutines](https://github.com/Kotlin/kotlinx.coroutines) - Kotlin Coroutines - Library support for Kotlin coroutines + ### Dependency - fuel-gson * [Gson](https://github.com/google/gson) - Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back @@ -53,6 +58,10 @@ The easiest HTTP networking library for Kotlin/Android. * [Moshi](https://github.com/square/moshi) - Moshi - A modern JSON library for Android and Java +### Dependency - fuel-forge + +* [Forge](https://github.com/kittinunf/Forge/) - Forge - Functional style JSON parsing written in Kotlin + ### Gradle ``` Groovy @@ -65,9 +74,11 @@ dependencies { compile 'com.github.kittinunf.fuel:fuel-android:' //for Android compile 'com.github.kittinunf.fuel:fuel-livedata:' //for LiveData support compile 'com.github.kittinunf.fuel:fuel-rxjava:' //for RxJava support + compile 'com.github.kittinunf.fuel:fuel-coroutines:' //for Kotlin Coroutines support compile 'com.github.kittinunf.fuel:fuel-gson:' //for Gson support compile 'com.github.kittinunf.fuel:fuel-jackson:' //for Jackson support compile 'com.github.kittinunf.fuel:fuel-moshi:' //for Moshi support + compile 'com.github.kittinunf.fuel:fuel-forge:' //for Forge support } ``` diff --git a/build.gradle b/build.gradle index ebfa64c0e..47697690a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ buildscript { ext { - publishVersion = '1.12.1' + publishVersion = '1.13.0' //dependencies version kotlinVersion = '1.2.40' diff --git a/deploy_bintray.sh b/deploy_bintray.sh index d4a738136..027a7dc11 100644 --- a/deploy_bintray.sh +++ b/deploy_bintray.sh @@ -4,7 +4,7 @@ if [[ "$TRAVIS_BRANCH" == */release-v* ]]; then echo "We're on release branch, deploying at $TRAVIS_BRANCH" - modules=("fuel" "fuel-android" "fuel-rxjava" "fuel-jackson" "fuel-gson" "fuel-livedata" "fuel-moshi") + modules=("fuel" "fuel-android" "fuel-rxjava" "fuel-jackson" "fuel-gson" "fuel-livedata" "fuel-moshi" "fuel-forge" "fuel-coroutines") for i in "${modules[@]}" do echo ">> Deploying $i ..."