Skip to content
This repository was archived by the owner on Apr 26, 2026. It is now read-only.

chore(android): update compileSdk to API 35 (Android 15)#22

Merged
hyochan merged 1 commit into
mainfrom
improvement/update-android-compilesdk-35
Mar 25, 2026
Merged

chore(android): update compileSdk to API 35 (Android 15)#22
hyochan merged 1 commit into
mainfrom
improvement/update-android-compilesdk-35

Conversation

@hyochan

@hyochan hyochan commented Mar 25, 2026

Copy link
Copy Markdown
Owner

Summary

Updates the Android build configuration to compile against API 35 (Android 15).

Changes

  • compileSdk: 34 → 35

Why

  • Android 15 (API 35) has been the stable release since October 2024
  • Compiling against the latest stable SDK ensures access to new platform APIs and reduces deprecation warnings
  • Aligns the godot-iap Android build with the other IAP libraries in this ecosystem (openiap, kmp-iap) which are also being updated to API 35
  • minSdk remains at 24 for broad device compatibility

@coderabbitai

coderabbitai Bot commented Mar 25, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@hyochan has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 22 minutes and 52 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d6083562-bc04-4c28-958d-9d57b0b2252f

📥 Commits

Reviewing files that changed from the base of the PR and between ac531e6 and 7a86eb9.

📒 Files selected for processing (1)
  • android/build.gradle.kts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch improvement/update-android-compilesdk-35

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the Android compilation target for the godot-iap library to API 35 (Android 15). This crucial update ensures the project leverages the latest platform features and maintains compatibility with the newest Android ecosystem standards, while preserving broad device support by keeping the minimum SDK at 24.

Highlights

  • Android Compile SDK Update: The compileSdk version in android/build.gradle.kts has been updated from 34 to 35, targeting Android 15. This update aligns with the stable release of Android 15, ensures access to new platform APIs, reduces deprecation warnings, and standardizes the build configuration across related IAP libraries. The minSdk remains at 24 for broad device compatibility.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the compileSdk version from 34 to 35 in android/build.gradle.kts. The review highlights that targetSdk should also be explicitly set to 35 within the defaultConfig block to prevent potential runtime issues and ensure the application correctly adopts newer Android features and security enhancements.

Comment thread android/build.gradle.kts
android {
namespace = pluginPackageName
compileSdk = 34
compileSdk = 35

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

While updating compileSdk to 35 is a good step, it's crucial to also update targetSdk to the same value. Currently, targetSdk is not explicitly set in your defaultConfig, so it defaults to your minSdk (API 24). This is a significant mismatch and can lead to unexpected runtime behaviors, as your app won't adopt the compatibility behaviors of newer Android versions.

To ensure your app behaves correctly and leverages modern Android features and security enhancements, please explicitly set targetSdk to 35 within the defaultConfig block.

Example:

defaultConfig {
    minSdk = 24
    targetSdk = 35
    // ...
}

@hyochan hyochan added the 👷‍♀️ build Build issue label Mar 25, 2026

@hyochan hyochan left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Moved to PR comment below)

@hyochan

hyochan commented Mar 25, 2026

Copy link
Copy Markdown
Owner Author

Review

LGTM! Clean and straightforward change.

The compileSdk 34 → 35 update is appropriate:

  • Android 15 (API 35) has been a stable release since October 2024
  • Backward compatibility is maintained with minSdk = 24
  • Aligns with other libraries in the openiap ecosystem

Note

Since this project is a library module (AAR), setting targetSdk is unnecessary. targetSdk only applies to app modules (com.android.application) and is ignored in library modules (com.android.library). The CodeRabbit suggestion to add targetSdk does not apply here.

Label added: 👷‍♀️ build

🤖 Generated with Claude Code

@hyochan hyochan merged commit db09c5b into main Mar 25, 2026
7 checks passed
@hyochan hyochan deleted the improvement/update-android-compilesdk-35 branch March 25, 2026 08:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant