Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 2.3.21 to 2.4.0#542
Merged
andrewparmet merged 5 commits intoJul 8, 2026
Merged
Conversation
Bumps [org.jetbrains.kotlin:kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 2.3.21 to 2.4.0. - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v2.3.21...v2.4.0) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-version: 2.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
dd042c3 to
5fce289
Compare
- Integration matrix: test Kotlin 2.2.21, 2.3.21, and 2.4.0; drop 2.1.21
- Raise language/API version to 2.2 across the build and standalone examples
- Generate 'null -> {}' instead of 'null -> Unit' in oneof when branches;
Kotlin 2.4 flags the latter as an unused expression under -Werror
- Filter friend-module paths to the dependsOn closure and skip jar-based
friend paths for non-JVM compilations; Kotlin 2.4 warns on friend modules
absent from the library path
- Opt in to UnsafeNumber for posix calls with platform-dependent bit widths
- Upgrade kotlin-js-store yarn.lock
- Suppress UNUSED_EXPRESSION in EnumsWithSharedPrefixTest; Kotlin 2.4 flags bare enum references as unused expressions - Ignore new kotlin-stdlib JDK8PlatformImplementations references to Map.getOrDefault, ConcurrentMap.computeIfAbsent, and java.util.function.Function in the expediter Android compatibility check
The standalone kRPC example pins the Kotlin Gradle plugin to the newest version supported by the kotlinx-rpc compiler plugin. Kotlin 2.3.20 cannot read klibs produced by 2.4.0, and a 2.4.0 compiler plugin build now exists for kotlinx-rpc 0.11.0-grpc-188.
andrewparmet
approved these changes
Jul 7, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps org.jetbrains.kotlin:kotlin-gradle-plugin from 2.3.21 to 2.4.0.
Release notes
Sourced from org.jetbrains.kotlin:kotlin-gradle-plugin's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin:kotlin-gradle-plugin's changelog.
... (truncated)
Commits
add726cAdd ChangeLog for 2.4.0-RC269a4a81[Wasm] Add binaryen per-file arguments8907c63[KGP] Suppress duplicate compiler warning output when --warning-mode=all is a...f9bef12[KGP] Add failing test for duplicate compiler warning output via Problems API7fe49c2KT-86268: Use 2.4.0 toolchain for abiValidation with older CVs13d25e2KT-86268: Regression test addedf7d1a76[JKlib] Fix JAR deserializer configuration.5cec663[JKlib] Wire up JvmBuiltInClassDescriptorFactoryef14611Make the default stability of non-final classesUnknowninstead ofStabled76473a[Gradle] Fix GeneralNativeIT.shouldAllowToOverrideDownloadUrl test failures