ADFA-2783: update templates to use compile/target SDK 36#994
ADFA-2783: update templates to use compile/target SDK 36#994itsaky-adfa merged 5 commits intostagefrom
Conversation
Signed-off-by: Akash Yadav <akashyadav@appdevforall.org>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 Walkthrough
Risks / Best-practice concerns
WalkthroughIntroduces Sdk.Baklava (codename "Baklava", version "16", api 36), reformats Sdk primary constructor, adjusts Sdk.displayName formatting, updates TARGET/COMPILE/COMPOSE SDK constants to Sdk.Baklava, and makes Environment.java resolve android platform path dynamically from COMPILE_SDK_VERSION.api. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). 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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In
`@composite-builds/build-deps-common/constants/src/main/java/org/adfa/constants/constants.kt`:
- Around line 24-26: Constants TARGET_SDK_VERSION / COMPILE_SDK_VERSION /
COMPOSE_SDK_VERSION are set to Sdk.Baklava (API 36) which forces edge-to-edge
behavior; update the generated Activity template (the class that currently
extends AppCompatActivity) to include edge-to-edge inset scaffolding by invoking
the existing helper (EdgeToEdgeUtils) or adding
WindowInsetsCompat/ViewCompat.setWindowInsetsAnimationCallback-based handling,
and also add a short migration comment in the generated build.gradle.kts or
Activity template explaining the API 36 behavior and reminding developers to
handle insets/resizability; ensure references to EdgeToEdgeUtils,
AppCompatActivity, and the build.gradle.kts/Activity template are updated so new
projects compile with proper inset handling.
composite-builds/build-deps-common/constants/src/main/java/org/adfa/constants/constants.kt
Show resolved
Hide resolved
Signed-off-by: Akash Yadav <akashyadav@appdevforall.org>
See ADFA-2783 for more details.