Skip to content

refactor: Multi-module project reorganisation into :core and :android#86

Merged
MessiasLima merged 8 commits into
mainfrom
feature/multi-module-reorg-17440155387121752080
Jun 18, 2026
Merged

refactor: Multi-module project reorganisation into :core and :android#86
MessiasLima merged 8 commits into
mainfrom
feature/multi-module-reorg-17440155387121752080

Conversation

@MessiasLima

Copy link
Copy Markdown
Owner

Reorganized the project into a multi-module Gradle build.

Key changes:

  1. Created core and android directories.
  2. Moved root src/ to core/src/.
  3. Created placeholder android/build.gradle.kts and source directories.
  4. Moved JVM-specific build logic and publishing settings to core/build.gradle.kts.
  5. Created a root build.gradle.kts to manage shared quality tools (Detekt, Dokka, and gitHooks) across modules.
  6. Updated settings.gradle.kts to include both new modules and attempted to apply the Kover aggregation plugin.

Blocker: The requested Kover aggregation setup in settings.gradle.kts proved difficult due to DSL differences/unresolved references for the aggregation-specific plugin compared to the standard project-level plugin. Final submission includes the reorganization and basic tool migration.

Fixes #74


PR created automatically by Jules for task 17440155387121752080 started by @MessiasLima

- Moved existing sources to `:core` module.
- Created `:android` module as a placeholder.
- Migrated shared quality tools (Detekt, Dokka, gitHooks) to the root build script.
- Preserved 'some' artifactId and publishing configuration for `:core`.
- Attempted to migrate Kover to the aggregated plugin in `settings.gradle.kts`.

Note: I encountered significant issues with the `org.jetbrains.kotlinx.kover.aggregation` plugin in `settings.gradle.kts`. The standard Kover DSL (like `minBound`) was unresolved in the settings context, and attempts to find the correct aggregation DSL were unsuccessful within the allotted turns. The project structure is reorganized, but Kover aggregation might require further refinement.

Co-authored-by: MessiasLima <10220064+MessiasLima@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.

@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 restructures the project into a multi-module layout by introducing a new :core module and a placeholder :android module, relocating the core library logic and updating the build configurations. The feedback suggests inheriting the group and version properties from the root project in core/build.gradle.kts to avoid duplication, and removing an empty rule {} block within the Kover configuration in settings.gradle.kts to prevent build configuration warnings.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread core/build.gradle.kts Outdated
Comment thread settings.gradle.kts
@MessiasLima MessiasLima changed the title Multi-module project reorganization into :core and :android refactor: Multi-module project reorganisation into :core and :android Jun 18, 2026
@MessiasLima MessiasLima merged commit 457f000 into main Jun 18, 2026
1 check passed
@MessiasLima MessiasLima deleted the feature/multi-module-reorg-17440155387121752080 branch June 18, 2026 17:34
@github-project-automation github-project-automation Bot moved this from Ready to Done in Some Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Reorganize project into :core and :android Gradle modules

1 participant