Skip to content

Rename project package to com.messark.hawker - #71

Merged
candour merged 1 commit into
mainfrom
rename-package-to-hawker-1657295226385199531
Apr 22, 2026
Merged

Rename project package to com.messark.hawker#71
candour merged 1 commit into
mainfrom
rename-package-to-hawker-1657295226385199531

Conversation

@candour

@candour candour commented Apr 22, 2026

Copy link
Copy Markdown
Owner

This change renames the project's technical package namespace from com.messark.hawkerrush to com.messark.hawker.

Key actions taken:

  1. Gradle Configuration: Modified app/build.gradle.kts to set namespace and applicationId to com.messark.hawker.
  2. Source Code Reorganization: Moved all source files from app/src/main/java/com/messark/hawkerrush to app/src/main/java/com/messark/hawker and similarly for the test directory.
  3. Refactoring: Performed a global search-and-replace of the package name across all .kt files, ensuring all package declarations and imports are correct.
  4. Configuration & Docs: Updated app/proguard-rules.pro, AGENTS.md, and README.md to reflect the new package structure.
  5. Verification: Confirmed the project compiles and runs unit tests successfully.

Note: The user-facing app name "Hawker Rush" remains unchanged as requested.


PR created automatically by Jules for task 1657295226385199531 started by @candour

Summary by CodeRabbit

  • Chores
    • Updated application package identifier and reorganized internal code structure across the project.

- Update namespace and applicationId in app/build.gradle.kts
- Rename source and test directories to match new package name
- Update package declarations and imports in all Kotlin files
- Update Proguard rules and project documentation (AGENTS.md, README.md)
- Verify successful build and test execution

Co-authored-by: candour <4670475+candour@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 095dd3b4-8c17-41ec-b6ba-399cb84f6e48

📥 Commits

Reviewing files that changed from the base of the PR and between 473d925 and 7a28181.

📒 Files selected for processing (32)
  • app/build.gradle.kts
  • app/proguard-rules.pro
  • app/src/main/java/com/messark/hawker/MainActivity.kt
  • app/src/main/java/com/messark/hawker/MainViewModel.kt
  • app/src/main/java/com/messark/hawker/model/GameModels.kt
  • app/src/main/java/com/messark/hawker/model/HighScore.kt
  • app/src/main/java/com/messark/hawker/model/MapConstants.kt
  • app/src/main/java/com/messark/hawker/model/Settings.kt
  • app/src/main/java/com/messark/hawker/model/TutorialModels.kt
  • app/src/main/java/com/messark/hawker/registry/Registry.kt
  • app/src/main/java/com/messark/hawker/ui/components/GameBoard.kt
  • app/src/main/java/com/messark/hawker/ui/components/GameControlPanel.kt
  • app/src/main/java/com/messark/hawker/ui/components/StallConsole.kt
  • app/src/main/java/com/messark/hawker/ui/components/StallSlot.kt
  • app/src/main/java/com/messark/hawker/ui/components/TutorialOverlay.kt
  • app/src/main/java/com/messark/hawker/ui/constants/LayoutConstants.kt
  • app/src/main/java/com/messark/hawker/ui/constants/SpriteConstants.kt
  • app/src/main/java/com/messark/hawker/ui/theme/Color.kt
  • app/src/main/java/com/messark/hawker/ui/theme/Theme.kt
  • app/src/main/java/com/messark/hawker/ui/theme/Type.kt
  • app/src/main/java/com/messark/hawker/utils/GameStateRepository.kt
  • app/src/main/java/com/messark/hawker/utils/GridUtils.kt
  • app/src/main/java/com/messark/hawker/utils/LegendaryNames.kt
  • app/src/main/java/com/messark/hawker/utils/MapGenerator.kt
  • app/src/main/java/com/messark/hawker/utils/Pathfinding.kt
  • app/src/main/java/com/messark/hawker/utils/SettingsRepository.kt
  • app/src/test/java/com/messark/hawker/BossWaveLogicTest.kt
  • app/src/test/java/com/messark/hawker/LegendaryNamingTest.kt
  • app/src/test/java/com/messark/hawker/MainViewModelTest.kt
  • app/src/test/java/com/messark/hawker/MilestoneBoostTest.kt
  • app/src/test/java/com/messark/hawker/StallStatsTest.kt
  • app/src/test/java/com/messark/hawker/ViewModelFactoryTest.kt

📝 Walkthrough

Walkthrough

The entire application package namespace is being renamed from com.messark.hawkerrush to com.messark.hawker across build configuration, source code, and tests. This includes Gradle configuration, ProGuard rules, and all package declarations and imports throughout the codebase.

Changes

Cohort / File(s) Summary
Build & Configuration
app/build.gradle.kts, app/proguard-rules.pro
Updated namespace and applicationId from com.messark.hawkerrush to com.messark.hawker in Gradle build config. Updated ProGuard keep rules to match new package name.
Model & Data Classes
app/src/main/java/com/messark/hawker/model/*
Package declarations updated from com.messark.hawkerrush.model to com.messark.hawker.model across GameModels.kt, HighScore.kt, MapConstants.kt, Settings.kt, and TutorialModels.kt. Imports updated accordingly.
Activities & ViewModels
app/src/main/java/com/messark/hawker/MainActivity.kt, app/src/main/java/com/messark/hawker/MainViewModel.kt
Package and import statements updated from com.messark.hawkerrush to com.messark.hawker. GameScreen function parameter type annotations updated to new namespace.
Registry
app/src/main/java/com/messark/hawker/registry/Registry.kt
Package declaration and model imports updated from com.messark.hawkerrush.registry to com.messark.hawker.registry. FireResult sealed class namespace updated.
UI Components
app/src/main/java/com/messark/hawker/ui/components/*
Package declarations updated from com.messark.hawkerrush.ui.components to com.messark.hawker.ui.components across GameBoard.kt, GameControlPanel.kt, StallConsole.kt, StallSlot.kt, and TutorialOverlay.kt. All local imports adjusted.
UI Constants & Theme
app/src/main/java/com/messark/hawker/ui/constants/*, app/src/main/java/com/messark/hawker/ui/theme/*
Package declarations updated from `com.messark.hawkerrush.ui.(constants
Utilities
app/src/main/java/com/messark/hawker/utils/*
Package declarations updated from com.messark.hawkerrush.utils to com.messark.hawker.utils across GameStateRepository.kt, GridUtils.kt, LegendaryNames.kt, MapGenerator.kt, Pathfinding.kt, and SettingsRepository.kt. Model imports updated accordingly. GridUtils.axialDistance function signature updated with new namespace types.
Tests
app/src/test/java/com/messark/hawker/*
Test package declarations and all project imports updated from com.messark.hawkerrush to com.messark.hawker across BossWaveLogicTest.kt, LegendaryNamingTest.kt, MainViewModelTest.kt, MilestoneBoostTest.kt, StallStatsTest.kt, and ViewModelFactoryTest.kt. Settings object instantiations updated to new namespace.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 6.67% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Rename project package to com.messark.hawker' is clear, specific, and directly summarizes the main change: a package namespace refactoring from com.messark.hawkerrush to com.messark.hawker.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch rename-package-to-hawker-1657295226385199531

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

@github-actions

Copy link
Copy Markdown

Build Successful! 🚀

Download APK

Note: This link will be removed when the PR is closed.

@candour
candour merged commit d3cf27d into main Apr 22, 2026
3 checks passed
@candour
candour deleted the rename-package-to-hawker-1657295226385199531 branch April 22, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant