Last active
November 24, 2025 08:42
-
-
Save Remzi1993/816b38c00203d00989128e7009bf78ef to your computer and use it in GitHub Desktop.
Try out JVM 25 for Android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // File: gradle/wrapper/gradle-wrapper.properties - Change the following line(s): | |
| distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip | |
| // File: gradle/libs.versions.toml - Change the following line(s): | |
| agp = "8.13.1" | |
| kotlin = "2.3.0-RC" | |
| // File: app/build.gradle.kts - Add/change the following line(s): | |
| import org.jetbrains.kotlin.gradle.dsl.JvmTarget | |
| android { | |
| compileSdk { | |
| version = release(36) | |
| } | |
| defaultConfig { | |
| minSdk = 26 | |
| targetSdk = 36 | |
| } | |
| compileOptions { | |
| sourceCompatibility = JavaVersion.VERSION_25 | |
| targetCompatibility = JavaVersion.VERSION_25 | |
| } | |
| } | |
| java { | |
| toolchain { | |
| languageVersion.set(JavaLanguageVersion.of(25)) | |
| } | |
| } | |
| kotlin { | |
| compilerOptions { | |
| jvmTarget.set(JvmTarget.JVM_25) | |
| } | |
| } | |
| // File: app/build.gradle.kts - Remove the following line(s): (It's deprecated) | |
| kotlinOptions { | |
| jvmTarget = "11" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment