From 5aaf49562bbb906b014f1b5717b26536b48e1110 Mon Sep 17 00:00:00 2001 From: Kittinun Vantasin Date: Sun, 8 Oct 2017 16:50:10 +0900 Subject: [PATCH] :bookmark: Release v1.11 (#252) --- README.md | 17 +++++++++++++++-- build.gradle | 2 +- deploy_bintray.sh | 9 ++++----- fuel-android/build.gradle | 4 ++++ fuel-livedata/build.gradle | 4 ++++ 5 files changed, 28 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index da495a6fc..35438ed12 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,14 @@ The easiest HTTP networking library for Kotlin/Android. * [Result](https://github.com/kittinunf/Result) - The modelling for success/failure of operations in Kotlin +### Dependency - fuel-android + +* [Android SDK](https://developer.android.com/studio/index.html) - Android SDK + +### Dependency - fuel-livedata + +* [Live Data](https://developer.android.com/topic/libraries/architecture/livedata.html) - Android Architecture Components - LiveData + ### Dependency - fuel-rxjava * [RxJava](https://github.com/ReactiveX/RxJava) - RxJava – Reactive Extensions for the JVM @@ -37,6 +45,10 @@ The easiest HTTP networking library for Kotlin/Android. * [Gson](https://github.com/google/gson) - Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back +### Dependency - fuel-jackson + +* [Jackson](https://github.com/FasterXML/jackson-module-kotlin) - Jackson - The JSON library for Java + ### Gradle ``` Groovy @@ -47,9 +59,10 @@ repositories { dependencies { compile 'com.github.kittinunf.fuel:fuel:' //for JVM compile 'com.github.kittinunf.fuel:fuel-android:' //for Android - compile 'com.github.kittinunf.fuel:fuel-rxjava:' //for RxJava support 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-gson:' //for Gson support + compile 'com.github.kittinunf.fuel:fuel-jackson:' //for Gson support } ``` @@ -665,8 +678,8 @@ Fuel.request(WeatherApi.weatherFor("london")).responseJson { request, response, ## Other libraries If you like Fuel, you might also like other libraries; * [Result](https://github.com/kittinunf/Result) - The modelling for success/failure of operations in Kotlin -* [Kovenant](https://github.com/mplatvoet/kovenant) - Kovenant. Promises for Kotlin. * [Fuse](https://github.com/kittinunf/Fuse) - A simple generic LRU memory/disk cache for Android written in Kotlin +* [Forge] (https://github.com/kittinunf/Forge) - Functional style JSON parsing written in Kotlin ## Credits diff --git a/build.gradle b/build.gradle index ac0c83d56..e2e13c747 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ buildscript { allprojects { ext { - publish_version = '1.10.0' + publish_version = '1.11.0' //dependencies version kotlin_version = '1.1.4-3' diff --git a/deploy_bintray.sh b/deploy_bintray.sh index 3564a4d12..7181bb55e 100644 --- a/deploy_bintray.sh +++ b/deploy_bintray.sh @@ -1,16 +1,15 @@ #!/bin/bash -echo $TRAVIS_BRANCH - if [[ "$TRAVIS_BRANCH" == */release-v* ]]; then - echo "We're on release branch, deploying" - - modules=("fuel" "fuel-android" "fuel-rxjava" "fuel-livedata" "fuel-gson" "fuel-jackson") + echo "We're on release branch, deploying at $TRAVIS_BRANCH" + modules=("fuel" "fuel-android" "fuel-rxjava" "fuel-jackson" "fuel-gson" "fuel-livedata") for i in "${modules[@]}" do + echo ">> Deploying $i ..." ./gradlew :$i:clean :$i:build :$i:bintrayUpload -PbintrayUser=$BINTRAY_USER -PbintrayKey=$BINTRAY_KEY -PdryRun=false + echo ">> Done deploying for $i" done fi diff --git a/fuel-android/build.gradle b/fuel-android/build.gradle index fcc2762e4..d7fcdaf1e 100644 --- a/fuel-android/build.gradle +++ b/fuel-android/build.gradle @@ -82,3 +82,7 @@ publish { uploadName = 'Fuel-Android' website = 'https://github.com/kittinunf/Fuel' } + +tasks.withType(Javadoc) { + enabled = false +} diff --git a/fuel-livedata/build.gradle b/fuel-livedata/build.gradle index 2bfbe356b..ac7d0fe76 100644 --- a/fuel-livedata/build.gradle +++ b/fuel-livedata/build.gradle @@ -81,3 +81,7 @@ publish { uploadName = 'Fuel-Android' website = 'https://github.com/kittinunf/Fuel' } + +tasks.withType(Javadoc) { + enabled = false +}