diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ef969064..1a792602f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 5.4.4 (2022-10-17) +--------------------------------------------- +- [Downgrade target back down to Java 1.8 as requested by a user. #476](https://github.com/dropbox/dropbox-sdk-java/issues/476) + ## 5.4.3 (2022-10-14) --------------------------------------------- - Fix: [Make Kotlin optional in OSGI Import-Package statement](https://github.com/dropbox/dropbox-sdk-java/pull/473) diff --git a/README.md b/README.md index 897f9c284..29286e840 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ If you're using Maven, then edit your project's "pom.xml" and add this to the `< com.dropbox.core dropbox-core-sdk - 5.4.3 + 5.4.4 ``` @@ -33,7 +33,7 @@ If you are using Gradle, then edit your project's "build.gradle" and add this to ```groovy dependencies { // ... - implementation 'com.dropbox.core:dropbox-core-sdk:5.4.3' + implementation 'com.dropbox.core:dropbox-core-sdk:5.4.4' } ``` diff --git a/dropbox-sdk-java/build.gradle b/dropbox-sdk-java/build.gradle index f08cce4c7..ee33ed2b4 100644 --- a/dropbox-sdk-java/build.gradle +++ b/dropbox-sdk-java/build.gradle @@ -16,8 +16,8 @@ dependencyGuard { configuration("runtimeClasspath") } -sourceCompatibility = JavaVersion.VERSION_11 -targetCompatibility = JavaVersion.VERSION_11 +sourceCompatibility = JavaVersion.VERSION_1_8 +targetCompatibility = JavaVersion.VERSION_1_8 ext { mavenName = 'Official Dropbox Java SDK' diff --git a/dropbox-sdk-java/src/main/java/com/dropbox/core/DbxSdkVersion.java b/dropbox-sdk-java/src/main/java/com/dropbox/core/DbxSdkVersion.java index 81d2fb40f..2d588071b 100644 --- a/dropbox-sdk-java/src/main/java/com/dropbox/core/DbxSdkVersion.java +++ b/dropbox-sdk-java/src/main/java/com/dropbox/core/DbxSdkVersion.java @@ -12,6 +12,6 @@ public class DbxSdkVersion // https://github.com/dropbox/dropbox-sdk-java/issues/357 private static String loadVersion() { - return "5.4.4-SNAPSHOT"; + return "5.4.4"; } } diff --git a/examples/examples/build.gradle b/examples/examples/build.gradle index e6a66f8c9..d004c5a8b 100644 --- a/examples/examples/build.gradle +++ b/examples/examples/build.gradle @@ -6,8 +6,8 @@ plugins { description = 'Consolidated Examples' java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 } dependencies { diff --git a/examples/java/build.gradle b/examples/java/build.gradle index 8448f301d..1893e0173 100644 --- a/examples/java/build.gradle +++ b/examples/java/build.gradle @@ -11,8 +11,8 @@ dependencyGuard { description = 'Java Examples' java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 } dependencies { diff --git a/gradle.properties b/gradle.properties index b040ad4fd..e1ff22970 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ # POM GROUP = com.dropbox.core -VERSION_NAME=5.4.4-SNAPSHOT +VERSION_NAME=5.4.4 POM_NAME = Dropbox SDK Java POM_DESCRIPTION = A Java library to access Dropbox's HTTP-based Core API v2. diff --git a/proguard/build.gradle b/proguard/build.gradle index 9d4b016a8..235fadc9f 100644 --- a/proguard/build.gradle +++ b/proguard/build.gradle @@ -3,8 +3,8 @@ apply plugin: 'java' description = 'ProGuard minified SDK test suite for ProGuard compatibility tests.' group = 'com.dropbox.core.test' archivesBaseName = 'dropbox-proguard-test' -sourceCompatibility = JavaVersion.VERSION_11 -targetCompatibility = JavaVersion.VERSION_11 +sourceCompatibility = JavaVersion.VERSION_1_8 +targetCompatibility = JavaVersion.VERSION_1_8 ext { authInfoPropertyName = 'com.dropbox.test.authInfoFile' @@ -28,8 +28,8 @@ repositories { } dependencies { - implementation group: 'com.dropbox.core', name: 'dropbox-core-sdk', version: '+', changing: true - implementation 'org.testng:testng:6.9.10' + implementation(project(":dropbox-sdk-java")) + implementation("org.testng:testng:6.9.10") } compileJava {