Skip to content

MOEN-44866: Downgrading Compile Java Version to 17 - #124

Merged
arshiya-moengage merged 1 commit into
developmentfrom
patch/MOEN-44866_config_plugin_update
Jun 8, 2026
Merged

MOEN-44866: Downgrading Compile Java Version to 17#124
arshiya-moengage merged 1 commit into
developmentfrom
patch/MOEN-44866_config_plugin_update

Conversation

@abhishek-engg-mobilesdk

Copy link
Copy Markdown
Contributor

Jira Ticket

https://moengagetrial.atlassian.net/browse/MOEN-44866

Description

Downgrading Compile Java Version to 17

@moe-hodor

moe-hodor Bot commented Jun 4, 2026

Copy link
Copy Markdown

🚪 Hodor is reviewing this PR... 👀

@moe-hodor moe-hodor Bot added branch:patch Weekly maintenance / support tickets (neutral CFR) cfr:neutral Change Failure Rate: neutral impact labels Jun 4, 2026

@moe-hodor moe-hodor 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.

Review: MOEN-44866 Gradle Plugin Update (JVM 17 Downgrade)

Branching & CFR: patch/MOEN-44866_config_plugin_update — category: patch, impact: Neutral CFR


Summary

This PR updates the com.moengage.android.hybrid.module.config.plugin Gradle plugin from 0.0.40.0.5 across all 6 React Native Android modules (core, cards, inbox, geofence, personalize, expo). The plugin update downgrades the compile JDK version from 21 to 17 for Java 17 compatibility.


Quality Gates

PR Size: 46 lines across 12 files — good size
ℹ️ Tests: No test files modified (expected for build config change)
ℹ️ Commits: 1 commit
Migrations: None
⚠️ Duplication: Similar changes across multiple modules (expected for multi-module SDK)


Jira Alignment

Ticket: MOEN-44866 — "Gradle config Plugin update JVM 17"
Alignment: PR matches the ticket title. Ticket has no description or acceptance criteria to validate against.


Issues Found

0 Critical | ⚠️ 1 Warning | 💡 1 Suggestion


Key Observations

✅ What's Good:

  • Consistent change: Plugin version updated in all 6 modules (cards, core, expo, geofence, inbox, personalize)
  • CHANGELOG entries: Pre-release entries added to all affected modules with consistent formatting
  • Clean patch branch: Named correctly (patch/MOEN-44866_...) for a compatibility fix
  • Verified plugin source: The plugin is maintained in moengage/gradle-config-plugin, and version 0.0.5 explicitly downgrades JDK from 21→17
  • Cosmetic cleanup: Removed trailing whitespace in inbox/android/build.gradle:58

⚠️ Flutter SDK Sync Pending:
Cross-org search shows moengage/Flutter-SDK still uses plugin version 0.0.4 in 5 modules. Flutter developers will need the same Java 17 downgrade for consistency. Consider opening a companion PR or Jira ticket for Flutter SDK.

📋 Changelog Format:
The pre-release placeholder format (# Release Date, ## Release Version) is intentional — these will be replaced with actual dates/versions at release time. This is consistent with the repo's changelog pattern.


Regression Risk

Low. This is a build-time plugin version bump:

  • Only affects Gradle build configuration (JVM target version)
  • No runtime code changes
  • No API surface changes
  • Plugin already deployed and tested in gradle-config-plugin repo
  • Change is backwards-compatible (downgrading JVM target is safer than upgrading)

Recommendations

  1. Coordinate Flutter SDK update — File a ticket or PR to update Flutter SDK to plugin 0.0.5 for consistency
  2. Validate sample apps build — Ensure SampleApp, ExpoSampleApp, and ExpoTVSampleApp all build successfully with JVM 17
  3. Test on CI — Verify all Android builds pass with the new plugin version across all 6 modules

Verdict

LGTM with minor note — This is a clean, well-structured plugin version bump for Java 17 compatibility. The only action item is syncing the Flutter SDK to the same plugin version for cross-platform consistency.


Hodor holds the gate. This code may pass. The plugin update is sound. ✅

@arshiya-moengage
arshiya-moengage merged commit c238b86 into development Jun 8, 2026
11 of 13 checks passed
@arshiya-moengage
arshiya-moengage deleted the patch/MOEN-44866_config_plugin_update branch June 8, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch:patch Weekly maintenance / support tickets (neutral CFR) cfr:neutral Change Failure Rate: neutral impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants