Skip to content

Commit f28d537

Browse files
authored
Downgrade. Java 11 -> 8. (#478)
* Downgrade to Java 1.8 for v5.4.4 * Rely on source version of our SDK
1 parent 33ae9b3 commit f28d537

File tree

8 files changed

+18
-14
lines changed

8 files changed

+18
-14
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 5.4.4 (2022-10-17)
2+
---------------------------------------------
3+
- [Downgrade target back down to Java 1.8 as requested by a user. #476](https://github.com/dropbox/dropbox-sdk-java/issues/476)
4+
15
## 5.4.3 (2022-10-14)
26
---------------------------------------------
37
- Fix: [Make Kotlin optional in OSGI Import-Package statement](https://github.com/dropbox/dropbox-sdk-java/pull/473)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If you're using Maven, then edit your project's "pom.xml" and add this to the `<
2424
<dependency>
2525
<groupId>com.dropbox.core</groupId>
2626
<artifactId>dropbox-core-sdk</artifactId>
27-
<version>5.4.3</version>
27+
<version>5.4.4</version>
2828
</dependency>
2929
```
3030

@@ -33,7 +33,7 @@ If you are using Gradle, then edit your project's "build.gradle" and add this to
3333
```groovy
3434
dependencies {
3535
// ...
36-
implementation 'com.dropbox.core:dropbox-core-sdk:5.4.3'
36+
implementation 'com.dropbox.core:dropbox-core-sdk:5.4.4'
3737
}
3838
```
3939

dropbox-sdk-java/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ dependencyGuard {
1616
configuration("runtimeClasspath")
1717
}
1818

19-
sourceCompatibility = JavaVersion.VERSION_11
20-
targetCompatibility = JavaVersion.VERSION_11
19+
sourceCompatibility = JavaVersion.VERSION_1_8
20+
targetCompatibility = JavaVersion.VERSION_1_8
2121

2222
ext {
2323
mavenName = 'Official Dropbox Java SDK'

dropbox-sdk-java/src/main/java/com/dropbox/core/DbxSdkVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ public class DbxSdkVersion
1212
// https://github.com/dropbox/dropbox-sdk-java/issues/357
1313
private static String loadVersion()
1414
{
15-
return "5.4.4-SNAPSHOT";
15+
return "5.4.4";
1616
}
1717
}

examples/examples/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ plugins {
66
description = 'Consolidated Examples'
77

88
java {
9-
sourceCompatibility = JavaVersion.VERSION_11
10-
targetCompatibility = JavaVersion.VERSION_11
9+
sourceCompatibility = JavaVersion.VERSION_1_8
10+
targetCompatibility = JavaVersion.VERSION_1_8
1111
}
1212

1313
dependencies {

examples/java/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dependencyGuard {
1111
description = 'Java Examples'
1212

1313
java {
14-
sourceCompatibility = JavaVersion.VERSION_11
15-
targetCompatibility = JavaVersion.VERSION_11
14+
sourceCompatibility = JavaVersion.VERSION_1_8
15+
targetCompatibility = JavaVersion.VERSION_1_8
1616
}
1717

1818
dependencies {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# POM
22
GROUP = com.dropbox.core
3-
VERSION_NAME=5.4.4-SNAPSHOT
3+
VERSION_NAME=5.4.4
44

55
POM_NAME = Dropbox SDK Java
66
POM_DESCRIPTION = A Java library to access Dropbox's HTTP-based Core API v2.

proguard/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ apply plugin: 'java'
33
description = 'ProGuard minified SDK test suite for ProGuard compatibility tests.'
44
group = 'com.dropbox.core.test'
55
archivesBaseName = 'dropbox-proguard-test'
6-
sourceCompatibility = JavaVersion.VERSION_11
7-
targetCompatibility = JavaVersion.VERSION_11
6+
sourceCompatibility = JavaVersion.VERSION_1_8
7+
targetCompatibility = JavaVersion.VERSION_1_8
88

99
ext {
1010
authInfoPropertyName = 'com.dropbox.test.authInfoFile'
@@ -28,8 +28,8 @@ repositories {
2828
}
2929

3030
dependencies {
31-
implementation group: 'com.dropbox.core', name: 'dropbox-core-sdk', version: '+', changing: true
32-
implementation 'org.testng:testng:6.9.10'
31+
implementation(project(":dropbox-sdk-java"))
32+
implementation("org.testng:testng:6.9.10")
3333
}
3434

3535
compileJava {

0 commit comments

Comments
 (0)