Skip to content

Commit

Permalink
Update version dependencies & minor fixes / Merge DImuthuUpe#885
Browse files Browse the repository at this point in the history
  • Loading branch information
polesapart committed Jul 10, 2020
1 parent 0dd93cf commit 5dcf6a1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# WARNING!
This fork was made in order to migrate the library to AndroidX. Add-ons and updates will not appear.

[![Release](https://jitpack.io/v/TalbotGooday/AndroidPdfViewer.svg)](https://jitpack.io/#TalbotGooday/AndroidPdfViewer)
[![Release](https://jitpack.io/v/polesapart/AndroidPdfViewer.svg)](https://jitpack.io/#polesapart/AndroidPdfViewer)

Add to _build.gradle_:
```groovy
Expand All @@ -15,7 +15,7 @@ allprojects {
```
Add the dependency
```groovy
implementation 'com.github.TalbotGooday:AndroidPdfViewer:Tag'
implementation 'com.github.polesapart:AndroidPdfViewer:Tag'
```

---
Expand Down
5 changes: 4 additions & 1 deletion android-pdf-viewer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ android {
}

dependencies {
implementation 'androidx.core:core:1.2.0'
implementation 'androidx.core:core:1.3.0'
api 'com.github.barteksc:pdfium-android:1.9.0'
// api ('com.github.barteksc:pdfium-android:1.9.0', {
// exclude group: 'com.android.support'
// })
}

apply from: 'bintray.gradle'
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.2'
classpath 'com.android.tools.build:gradle:4.0.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
android.useAndroidX = true
android.enableJetifier=true
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Aug 18 01:14:14 CEST 2019
#Fri Jul 10 11:07:00 BRT 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
4 changes: 2 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ android {
dependencies {
implementation project(':android-pdf-viewer')
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'org.androidannotations:androidannotations-api:4.6.0'
annotationProcessor "org.androidannotations:androidannotations:4.6.0"
implementation 'org.androidannotations:androidannotations-api:4.7.0'
annotationProcessor "org.androidannotations:androidannotations:4.7.0"
}

0 comments on commit 5dcf6a1

Please sign in to comment.