Skip to content

Commit ffabd30

Browse files
dkhawkkikoso
andauthored
chore: Update Gradle and standardize on Java 17 (#2306)
* chore: Update Gradle wrapper to version 8.8 Upgrades the Gradle wrapper files to version 8.8 to ensure compatibility with the latest features and performance improvements. This includes updating the wrapper JAR, properties, and shell scripts. * chore: update gradle version * chore: Standardize on Java 17 * Update gradle-wrapper.properties * Update gradle-wrapper.properties * Update gradle-wrapper.properties * Update gradle-wrapper.properties * Update gradle-wrapper.properties * Update gradle-wrapper.properties * Update gradle-wrapper.properties * Update gradle-wrapper.properties * Update gradle-wrapper.properties --------- Co-authored-by: Enrique López-Mañas <eenriquelopez@gmail.com>
1 parent 778a365 commit ffabd30

49 files changed

Lines changed: 356 additions & 271 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ApiDemos/project/common-ui/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ android {
4242
}
4343
}
4444
compileOptions {
45-
sourceCompatibility = JavaVersion.VERSION_11
46-
targetCompatibility = JavaVersion.VERSION_11
45+
sourceCompatibility = JavaVersion.VERSION_17
46+
targetCompatibility = JavaVersion.VERSION_17
4747
}
4848
kotlin {
4949
compilerOptions {
1.65 KB
Binary file not shown.

ApiDemos/project/gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
3+
distributionSha256Sum=a17ddd85a26b6a7f5ddb71ff8b05fc5104c0202c6e64782429790c933686c806
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
45
networkTimeout=10000
56
validateDistributionUrl=true
67
zipStoreBase=GRADLE_USER_HOME

ApiDemos/project/gradlew

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ApiDemos/project/gradlew.bat

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ApiDemos/project/kotlin-app/build.gradle.kts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,16 @@ android {
5757
}
5858

5959
namespace = "com.example.kotlindemos"
60+
61+
compileOptions {
62+
sourceCompatibility = JavaVersion.VERSION_17
63+
targetCompatibility = JavaVersion.VERSION_17
64+
}
6065
}
6166

6267
kotlin {
6368
compilerOptions {
64-
jvmTarget.set(JvmTarget.JVM_21)
65-
}
66-
jvmToolchain(21) // Specify the JVM toolchain version
67-
compilerOptions {
69+
jvmTarget.set(JvmTarget.JVM_17)
6870
freeCompilerArgs.add("-Xopt-in=kotlin.RequiresOptIn")
6971
}
7072
}
-4.33 KB
Binary file not shown.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
#Wed Jul 10 22:24:53 CEST 2024
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
3+
distributionSha256Sum=a17ddd85a26b6a7f5ddb71ff8b05fc5104c0202c6e64782429790c933686c806
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
5+
networkTimeout=10000
6+
validateDistributionUrl=true
57
zipStoreBase=GRADLE_USER_HOME
68
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)