From f103dbc6aef87542d0a909416110457afd587af1 Mon Sep 17 00:00:00 2001 From: Wojciech Dziemianczyk Date: Tue, 12 Dec 2023 12:40:38 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index c3122333d..532111bcc 100644 --- a/README.md +++ b/README.md @@ -264,6 +264,20 @@ To run individual tests, use the `--tests` gradle test filter: ## Usage on Android +Edit your project's "build.gradle" and add the following to the dependencies section: +``` +dependencies { + // ... + implementation 'com.dropbox.core:dropbox-core-sdk:6.0.0' + implementation 'com.dropbox.core:dropbox-android-sdk:6.0.0' +} +``` +If you leverage jettifier and see the following errors then please add `android.jetifier.ignorelist = jackson-core,fastdoubleparser` to your `gradle.properties` file. + +``` +Failed to transform jackson-core-2.15.0.jar (com.fasterxml.jackson.core:jackson-core:2.15.0) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}. +``` + The Android code in this SDK is written in Kotlin (as of 5.4.x) and Kotlin is now a runtime dependency. If you do not already have Kotlin in your project, you will need to add `implementation("org.jetbrains.kotlin:kotlin-stdlib:1.6.21")` to your dependencies block in order to avoid a runtime exception. At this point in time, the Android code is bundled with the main Java artifact, but will be published as a separate artifact at some point in the future. From 180745039e5fdc58a880bc20d85938b4be55ed50 Mon Sep 17 00:00:00 2001 From: Walter Dziemianczyk Date: Tue, 12 Dec 2023 12:43:15 -0500 Subject: [PATCH 2/2] Bump version to snapshot --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index c1c328253..d78a1f296 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ # POM GROUP = com.dropbox.core -VERSION_NAME=6.0.0 +VERSION_NAME=6.1.0-SNAPSHOT POM_URL = https://github.com/dropbox/dropbox-sdk-java/ POM_SCM_URL = https://github.com/dropbox/dropbox-sdk-java/