1-
2- [ ![ Build Status] ( https://travis-ci.org/tonyofrancis/Fetch.svg?branch=v2 )] ( https://travis-ci.org/tonyofrancis/Fetch )
31[ ![ Android Arsenal] ( https://img.shields.io/badge/Android%20Arsenal-Android%20Networking-blue.svg?style=flat )] ( https://android-arsenal.com/details/1/5196 )
42[ ![ License] ( https://img.shields.io/badge/license-Apache%202.0-blue.svg )] ( https://github.com/tonyofrancis/Fetch/blob/master/LICENSE )
53
@@ -52,7 +50,8 @@ in the Manifest.
5250How to use Fetch
5351----------------
5452
55- Using Fetch is easy! Just add the following to your project's build.gradle file.
53+ Using Fetch is easy! Just add the following to your project's ` build.gradle ` file. In newer Android
54+ Studio projects add this to ` settings.gradle `
5655``` groovy
5756allprojects {
5857 repositories {
@@ -63,7 +62,7 @@ allprojects {
6362
6463Add the Gradle dependency to your application's build.gradle file.
6564``` groovy
66- implementation "androidx.tonyodev. fetch2:xfetch2:3.2.3 "
65+ implementation "com.github.tonyofrancis.Fetch: fetch2:3.3.0 "
6766```
6867
6968Next, get an instance of Fetch and request a download.
@@ -229,7 +228,7 @@ to use the OkHttp Downloader instead. You can create your custom downloaders
229228if necessary. See the Java docs for details.
230229
231230``` groovy
232- implementation "androidx.tonyodev. fetch2okhttp:xfetch2okhttp:3.2.3 "
231+ implementation "com.github.tonyofrancis.Fetch: fetch2okhttp:3.3.0 "
233232```
234233
235234Set the OkHttp Downloader for Fetch to use.
@@ -251,7 +250,7 @@ If you would like to take advantage of RxJava2 features when using Fetch,
251250add the following gradle dependency to your application's build.gradle file.
252251
253252``` groovy
254- implementation "androidx.tonyodev. fetch2rx:xfetch2rx:3.2.3 "
253+ implementation "com.github.tonyofrancis.Fetch: fetch2rx:3.3.0 "
255254```
256255
257256RxFetch makes it super easy to enqueue download requests and query downloads using rxJava2 functional methods.
@@ -288,7 +287,7 @@ added in the coming days.
288287Start using FetchFileServer by adding the gradle dependency to your application's build.gradle file.
289288
290289``` groovy
291- implementation "androidx.tonyodev. fetch2fileserver:xfetch2fileserver:3.2.3 "
290+ implementation "com.github.tonyofrancis.Fetch: fetch2fileserver:3.3.0 "
292291```
293292
294293Start a FetchFileServer instance and add resource files that it can serve to connected clients.
@@ -398,7 +397,7 @@ Fetch1 Migration
398397Migrate downloads from Fetch1 to Fetch2 using the migration assistant. Add the following gradle dependency to your application's build.gradle file.
399398
400399``` groovy
401- implementation "androidx.tonyodev. fetchmigrator:xfetchmigrator:3.2.3 "
400+ implementation "com.github.tonyofrancis.Fetch: fetchmigrator:3.3.0 "
402401```
403402
404403Then run the Migrator.
0 commit comments