Skip to content

Commit bc7db84

Browse files
author
Karl Rieb
committed
Updated ProGuard section of ReadMe for wording and removed unnecessary dependency from android example.
1 parent 9e8c3dc commit bc7db84

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ReadMe.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies {
2727
}
2828
```
2929

30-
You can also download the Java SDK JAR and and its dependencies directly from the [latest release page](https://github.com/dropbox/dropbox-sdk-java/releases/latest).
30+
You can also download the Java SDK JAR and and its required dependencies directly from the [latest release page](https://github.com/dropbox/dropbox-sdk-java/releases/latest). Note that the distribution artifacts on the releases pages do not contain optional dependencies.
3131

3232
## Get a Dropbox API key
3333

@@ -158,9 +158,10 @@ Another workaround is to tell your OSGi container to provide that requirement: [
158158

159159
### Does this SDK require any special ProGuard rules for shrink optimizations?
160160

161-
Versions 2.0.0-2.0.3 of this SDK require specific ProGuard rules to work with shrinking enabled. However, since version **2.0.4**, the SDK no longer needs special ProGuard directives. However, you may want to consider adding "-dontwarn" directives for unused optional dependencies:
161+
Versions 2.0.0-2.0.3 of this SDK require SDK-specific ProGuard rules when shrinking is enabled. However, since version **2.0.4**, the only ProGuard rules necessary are for the SDK's required and optional dependencies. If you encounter ProGuard warnings, consider adding the following "-dontwarn" directives to your ProGuard configuration file:
162162

163163
```
164+
-dontwarn okio.**
164165
-dontwarn okhttp3.**
165166
-dontwarn com.squareup.okhttp.**
166167
-dontwarn com.google.appengine.**

examples/android/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ dependencies {
6161
compile 'com.android.support:appcompat-v7:23.1.1'
6262
compile 'com.android.support:design:23.1.1'
6363
compile 'com.android.support:recyclerview-v7:23.1.1'
64-
compile 'com.fasterxml.jackson.core:jackson-core:2.7.4'
6564
// picasso 2.5.2 doesn't have OkHttp3 support (although it exists
6665
// on master). Must use OkHttp v2 and v3 until new picasso release
6766
compile 'com.squareup.picasso:picasso:2.5.2'

0 commit comments

Comments
 (0)