Skip to content

Commit

Permalink
removed used app compat library
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyofrancis committed Jun 11, 2018
1 parent 5d907c4 commit a12f3b6
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 22 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Version 2.1.0-RC3
- Removed used AppCompat Dependency on library modules.

Version 2.1.0-RC2
- Added missing identifier field on Downloader.Request class.

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Build Status](https://travis-ci.org/tonyofrancis/Fetch.svg?branch=v2)](https://travis-ci.org/tonyofrancis/Fetch)
[ ![Download](https://api.bintray.com/packages/tonyofrancis/maven/fetch2/images/download.svg?version=2.1.0-RC2) ](https://bintray.com/tonyofrancis/maven/fetch2/2.1.0-RC2/link)
[ ![Download](https://api.bintray.com/packages/tonyofrancis/maven/fetch2/images/download.svg?version=2.1.0-RC3) ](https://bintray.com/tonyofrancis/maven/fetch2/2.1.0-RC3/link)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Android%20Networking-blue.svg?style=flat)](https://android-arsenal.com/details/1/5196)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/tonyofrancis/Fetch/blob/master/LICENSE)

Expand Down Expand Up @@ -47,7 +47,7 @@ How to use Fetch
Using Fetch is easy! Just add the Gradle dependency to your application's build.gradle file.

```java
implementation "com.tonyodev.fetch2:fetch2:2.1.0-RC2"
implementation "com.tonyodev.fetch2:fetch2:2.1.0-RC3"
```

Next, get an instance of Fetch and request a download.
Expand Down Expand Up @@ -213,7 +213,7 @@ to use the OkHttp Downloader instead. You can create your own custom downloaders
if necessary. See the Java docs for details.

```java
implementation "com.tonyodev.fetch2okhttp:fetch2okhttp:2.1.0-RC2"
implementation "com.tonyodev.fetch2okhttp:fetch2okhttp:2.1.0-RC3"
```
Set the OkHttp Downloader for Fetch to use.
```java
Expand All @@ -234,7 +234,7 @@ If you would like to take advantage of RxJava2 features when using Fetch,
add the following gradle dependency to your application's build.gradle file.

```java
implementation "com.tonyodev.fetch2rx:fetch2rx:2.1.0-RC2"
implementation "com.tonyodev.fetch2rx:fetch2rx:2.1.0-RC3"
```

RxFetch makes it super easy to enqueue download requests and query downloads using rxJava2 functional methods.
Expand Down Expand Up @@ -270,7 +270,7 @@ added in the coming days.

Start using FetchFileServer by adding the gradle dependency to your application's build.gradle file.
```java
implementation "com.tonyodev.fetch2fileserver:fetch2fileserver:2.1.0-RC2"
implementation "com.tonyodev.fetch2fileserver:fetch2fileserver:2.1.0-RC3"
```

Start a FetchFileServer instance and add resource files that it can server to connected clients.
Expand Down Expand Up @@ -308,7 +308,7 @@ public class TestActivity extends AppCompatActivity {
Download a file from a FetchFileServer using the Fetch. Add the FetchFileServerDownloader
dependency to you app's build.gradle file.
```java
implementation "com.tonyodev.fetch2downloaders:fetch2downloaders:2.1.0-RC2"
implementation "com.tonyodev.fetch2downloaders:fetch2downloaders:2.1.0-RC3"
```

Then create an instance of Fetch and enqueue the download.
Expand Down Expand Up @@ -462,7 +462,7 @@ Fetch1 Migration

Migrate downloads from Fetch1 to Fetch2 using the migration assistant. Add the following gradle dependency to your application's build.gradle file.
```java
implementation "com.tonyodev.fetchmigrator:fetchmigrator:2.1.0-RC2"
implementation "com.tonyodev.fetchmigrator:fetchmigrator:2.1.0-RC3"
```
Then run the Migrator.
Expand Down
3 changes: 1 addition & 2 deletions fetch2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,10 @@ android {
}

dependencies {
implementation "com.android.support:appcompat-v7:$android_support_version"

api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
kapt "android.arch.persistence.room:compiler:$room_version"
api "android.arch.persistence.room:runtime:$room_version"

api project(':fetch2core')

testImplementation "junit:junit:$junit_version"
Expand Down
3 changes: 1 addition & 2 deletions fetch2core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "com.android.support:appcompat-v7:$android_support_version"
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testImplementation "junit:junit:$junit_version"
androidTestImplementation "com.android.support.test:runner:$test_runner_version"
androidTestImplementation "com.android.support.test.espresso:espresso-core:$espresso_version"
Expand Down
3 changes: 1 addition & 2 deletions fetch2downloaders/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ android {

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.android.support:appcompat-v7:$android_support_version"

api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
api "com.squareup.okhttp3:okhttp:$okhttp_version"

api project(':fetch2core')

testImplementation "junit:junit:$junit_version"
Expand Down
3 changes: 1 addition & 2 deletions fetch2okhttp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ android {

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.android.support:appcompat-v7:$android_support_version"

api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
api "com.squareup.okhttp3:okhttp:$okhttp_version"

api project(':fetch2core')

testImplementation "junit:junit:$junit_version"
Expand Down
4 changes: 1 addition & 3 deletions fetch2rx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "com.android.support:appcompat-v7:$android_support_version"
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
api "io.reactivex.rxjava2:rxandroid:$rxAndroid2_version"
api "io.reactivex.rxjava2:rxjava:$rxJava2_version"

api project(':fetch2')

testImplementation "junit:junit:$junit_version"
Expand Down
2 changes: 0 additions & 2 deletions fetchmigrator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@ android {

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.android.support:appcompat-v7:$android_support_version"

api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

api project(':fetch2')

testImplementation "junit:junit:$junit_version"
Expand Down
4 changes: 2 additions & 2 deletions versions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ ext {
rxAndroid2_version = "2.0.2"
timber_version = "4.7.0"
novoda_bintray_version = "0.8.0"
library_version = "2.1.0-RC2"
library_version_code = 25
library_version = "2.1.0-RC3"
library_version_code = 26
}

0 comments on commit a12f3b6

Please sign in to comment.