feat: remove kotlin#353
Merged
abelonogov-ld merged 2 commits intomainfrom Apr 29, 2026
Merged
Conversation
beekld
approved these changes
Apr 29, 2026
Contributor
beekld
left a comment
There was a problem hiding this comment.
I was on the fence about whether this should count as a breaking change, but I'm thinking it's not. The Kotlin<->Java bridging should paper over the difference.
beekld
pushed a commit
that referenced
this pull request
Apr 29, 2026
🤖 I have created a release *beep* *boop* --- ## [5.12.0](5.11.2...5.12.0) (2026-04-29) ### Features * remove kotlin ([#353](#353)) ([5e332a8](5e332a8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Release-only changes (version bumps and changelog updates) with no functional code modifications in this diff. > > **Overview** > Updates the release metadata to publish version **5.12.0** by bumping the version in `.release-please-manifest.json` and `gradle.properties`. > > Adds a new `CHANGELOG.md` entry for `5.12.0`, noting the feature "remove kotlin" (per #353). > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 204e908. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Requirements
Whole SDK had only one Kotlin file and too high verison of Kotlin was set, 2.2.0 which is above average of the market.
Rewriting one class to Java. It should make Android SDK lighter 1.5MB especially for Pure Java projects
Note
Medium Risk
Build/tooling changes across multiple modules can break CI or consumer builds if any remaining Kotlin usage or plugin assumptions exist. The Java rewrite is straightforward but could subtly change equality/toString behavior for callers.
Overview
Removes Kotlin from the build by dropping the Kotlin Gradle plugin/version configuration, removing
org.jetbrains.kotlin.androidfrom modules, and deleting the rootKotlinCompile/JvmTargettask configuration.Replaces the lone Kotlin source (
RegistrationCompleteResult.kt) with an equivalent Java implementation (RegistrationCompleteResult.java) to keep the plugin-registration result API available without requiring Kotlin.Reviewed by Cursor Bugbot for commit 35ca1d5. Bugbot is set up for automated code reviews on this repo. Configure here.